Activity log for bug #1175726

Date Who What changed Old value New value Message
2013-05-02 18:48:43 David Planella bug added bug
2013-05-02 18:50:34 David Planella description Currently, invoking i18n.language returns the value of the LANGUAGE environment variable. LANGUAGE is a gettext locale extension and it is not supported by all toolkits. Its format is a prioritized list of languages separated by semicolon (e.g. ca:de:it) [1], which is not understood when passed to Qt locale functions. Furthermore, it is not always defined, so in most cases, the result of invoking i18n.language will be an empty string. It might be better to return the value of the LANG variable [2] [1]: http://www.gnu.org/software/gettext/manual/html_node/The-LANGUAGE-variable.html#The-LANGUAGE-variable [2]: http://www.gnu.org/software/gettext/manual/html_node/Locale-Environment-Variables.html#Locale-Environment-Variables Currently, invoking i18n.language returns the value of the LANGUAGE environment variable. LANGUAGE is a gettext locale extension and it is not supported by all toolkits. Its format is a prioritized list of languages separated by semicolon (e.g. ca:de:it) [1], which is not understood when passed to Qt locale functions. Furthermore, it is not always defined, so in most cases, the result of invoking i18n.language will be an empty string. It might be better to return the value of the LANG variable [2], defined in /etc/default/locale [1]: http://www.gnu.org/software/gettext/manual/html_node/The-LANGUAGE-variable.html#The-LANGUAGE-variable [2]: http://www.gnu.org/software/gettext/manual/html_node/Locale-Environment-Variables.html#Locale-Environment-Variables
2013-05-02 18:53:44 David Planella description Currently, invoking i18n.language returns the value of the LANGUAGE environment variable. LANGUAGE is a gettext locale extension and it is not supported by all toolkits. Its format is a prioritized list of languages separated by semicolon (e.g. ca:de:it) [1], which is not understood when passed to Qt locale functions. Furthermore, it is not always defined, so in most cases, the result of invoking i18n.language will be an empty string. It might be better to return the value of the LANG variable [2], defined in /etc/default/locale [1]: http://www.gnu.org/software/gettext/manual/html_node/The-LANGUAGE-variable.html#The-LANGUAGE-variable [2]: http://www.gnu.org/software/gettext/manual/html_node/Locale-Environment-Variables.html#Locale-Environment-Variables Currently, invoking i18n.language returns the value of the LANGUAGE environment variable. LANGUAGE is a gettext locale extension and it is not supported by all toolkits. Its format is a prioritized list of languages separated by semicolon (e.g. ca:de:it) [1], which is not understood when passed to Qt locale functions. Furthermore, it is not always defined, so in most cases, the result of invoking i18n.language will be an empty string. It might be better to return the value of the LANG variable [2], defined in /etc/default/locale. Or for a more clever solution, if LC_MESSAGES is defined, return LC_MESSAGES and thus comply with the standard whereby LC_* variables override LANG if they are defined. [1]: http://www.gnu.org/software/gettext/manual/html_node/The-LANGUAGE-variable.html#The-LANGUAGE-variable [2]: http://www.gnu.org/software/gettext/manual/html_node/Locale-Environment-Variables.html#Locale-Environment-Variables
2013-05-03 21:56:43 Juhapekka Piiroinen ubuntu-ui-toolkit: assignee Tim Peeters (tpeeters)
2013-05-03 21:56:54 Juhapekka Piiroinen ubuntu-ui-toolkit: status New Confirmed
2013-05-14 19:48:26 Florian Boucault ubuntu-ui-toolkit: importance Undecided Medium
2013-05-23 10:47:05 David Planella tags i18n
2013-10-31 11:12:32 Cris Dywan branch linked lp:~kalikiana/ubuntu-ui-toolkit/xdglocale
2013-10-31 13:24:51 Cris Dywan ubuntu-ui-toolkit: assignee Tim Peeters (tpeeters) Christian Dywan (kalikiana)
2013-10-31 13:24:57 Cris Dywan ubuntu-ui-toolkit: status Confirmed In Progress
2013-11-04 17:07:56 PS Jenkins bot ubuntu-ui-toolkit: status In Progress Fix Committed
2013-11-05 22:02:50 Launchpad Janitor ubuntu-ui-toolkit (Ubuntu): status New Fix Released
2014-10-01 11:16:33 Zoltan Balogh ubuntu-ui-toolkit: status Fix Committed Fix Released