Manually change language in preference dialogue
Hi all,
I yust want to inform you that I commited some code to change the language of the user-interface within the preferences dialogue.
thats all, happy new year!!!
Adib.
-----Original Message-----
From: the Adib [mailto:theadib@...1439...] Sent: dinsdag 30 december 2008 21:46 To: Inkscape Devel List Subject: [Inkscape-devel] Manually change language in preference dialogue
Hi all,
I yust want to inform you that I commited some code to change the language of the user-interface within the preferences dialogue.
WOW !
thats all, happy new year!!!
It sure will be with this new preference! I vote this to be the headline feature of 0.47 ! ;) Seriously, this is really a nice feature so users don't have to hack their way to another language anymore! Super!
Happy new year :-)
Johan
2008/12/30 the Adib wrote:
Hi all,
I yust want to inform you that I commited some code to change the language of the user-interface within the preferences dialogue.
While this is a long requested feature, having a dedicated tab in Preferences dialog is just overkill, IMO. Could you please move it to Interface tab?
Alexandre
Done. Moved to the "Interface" page. Revision 20459. Adib.
On Fri, Jan 2, 2009 at 8:35 PM, Alexandre Prokoudine <alexandre.prokoudine@...400...> wrote:
2008/12/30 the Adib wrote:
Hi all,
I yust want to inform you that I commited some code to change the language of the user-interface within the preferences dialogue.
While this is a long requested feature, having a dedicated tab in Preferences dialog is just overkill, IMO. Could you please move it to Interface tab?
Alexandre
Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
2009/1/5 the Adib wrote:
Done. Moved to the "Interface" page. Revision 20459. Adib.
Thanks heaps!
[shameless plug]
While at that, would somebody possibly give a shot to https://bugs.launchpad.net/inkscape/+bug/259480 ?
[/shameless plug]
Alexandre
I have fixed a bug in this feature. Some language labels where not matching with their respective langcodes: pt, pt_BR, sr, sr@...1894..., es and es_MX where wrong. Also, I would like to ask whether the correct default value shouldnt be "" (that is, langValues[0]) instead of languages[0] (which is _("System default")).
Juca
On Mon, Jan 5, 2009 at 9:27 AM, Alexandre Prokoudine < alexandre.prokoudine@...400...> wrote:
2009/1/5 the Adib wrote:
Done. Moved to the "Interface" page. Revision 20459. Adib.
Thanks heaps!
[shameless plug]
While at that, would somebody possibly give a shot to https://bugs.launchpad.net/inkscape/+bug/259480 ?
[/shameless plug]
Alexandre
Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Hello Juca,
thank you for your eyes. ;-) I retrieved the list of languages by ls command and the special versions came before the general.
the function _ui_languages.init( "/ui/language", languages, langValues, G_N_ELEMENTS(languages), languages[0]); initiates the combo box. Where languages[0] gives the default value for the caption. This is then _("System default")
I modified the combo box widget to also handle pairs of string:string in addition to string:integer.
HTH and thank you again,
Adib. ---
On Tue, Jan 6, 2009 at 12:49 AM, Felipe Sanches <felipe.sanches@...400...> wrote:
I have fixed a bug in this feature. Some language labels where not matching with their respective langcodes: pt, pt_BR, sr, sr@...1894..., es and es_MX where wrong. Also, I would like to ask whether the correct default value shouldnt be "" (that is, langValues[0]) instead of languages[0] (which is _("System default")).
Juca
On Mon, Jan 5, 2009 at 9:27 AM, Alexandre Prokoudine <alexandre.prokoudine@...400...> wrote:
2009/1/5 the Adib wrote:
Done. Moved to the "Interface" page. Revision 20459. Adib.
Thanks heaps!
[shameless plug]
While at that, would somebody possibly give a shot to https://bugs.launchpad.net/inkscape/+bug/259480 ?
[/shameless plug]
Alexandre
Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
2009/1/6 Felipe Sanches wrote:
I have fixed a bug in this feature. Some language labels where not matching with their respective langcodes: pt, pt_BR, sr, sr@...1894..., es and es_MX where wrong. Also, I would like to ask whether the correct default value shouldnt be "" (that is, langValues[0]) instead of languages[0] (which is _("System default")).
At would be most useful if Inkscape sorted various entries alphabetically in any locale and thus eliminate use of "lang_LANG" ad other tricks. I also mean LPE effects list in combobox. Somehow GIMP does it for localized filters. Navigating through unsorted lists or a list where entries start with something like "en@...1443..." is quite unusual ;-)
Alexandre
Alexandre,
I do not think that sorting by localized strings makes any sense in this case. If I switched (just in error) to Chinese or even Finish how can I revert that?
Maybe it would be good not to localize the entries but to translate inside the code, so that Chinese is always displayed in chinese letters, Russian always using the Cyrillic, German always as "Deutsch". So the native speaker will recognize quite soon.
And yes the en_... etc. is somehow cryptic and not for the user. Is there any example switching the interface language inside the application?
HTH, Adib. ---
On Tue, Jan 6, 2009 at 2:58 AM, Alexandre Prokoudine <alexandre.prokoudine@...400...> wrote:
2009/1/6 Felipe Sanches wrote:
I have fixed a bug in this feature. Some language labels where not matching with their respective langcodes: pt, pt_BR, sr, sr@...1894..., es and es_MX where wrong. Also, I would like to ask whether the correct default value shouldnt be "" (that is, langValues[0]) instead of languages[0] (which is _("System default")).
At would be most useful if Inkscape sorted various entries alphabetically in any locale and thus eliminate use of "lang_LANG" ad other tricks. I also mean LPE effects list in combobox. Somehow GIMP does it for localized filters. Navigating through unsorted lists or a list where entries start with something like "en@...1443..." is quite unusual ;-)
Alexandre
Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
2009/1/6 the Adib wrote:
Maybe it would be good not to localize the entries but to translate inside the code, so that Chinese is always displayed in chinese letters, Russian always using the Cyrillic, German always as "Deutsch". So the native speaker will recognize quite soon.
Sounds good to me, with the only exception that gcc will swear like hell about use of Unicode in source code.
Alexandre
On Jan 6, 2009, at 8:35 AM, Alexandre Prokoudine wrote:
2009/1/6 the Adib wrote:
Maybe it would be good not to localize the entries but to translate inside the code, so that Chinese is always displayed in chinese letters, Russian always using the Cyrillic, German always as "Deutsch". So the native speaker will recognize quite soon.
Sounds good to me, with the only exception that gcc will swear like hell about use of Unicode in source code.
So don't use literal Unicode values, just escapes, etc.
Source code should remain pure ASCII (0-127) characters.
found this one: https://addons.mozilla.org/en-US/thunderbird/addon/1333
On Tue, Jan 6, 2009 at 5:35 PM, Alexandre Prokoudine <alexandre.prokoudine@...400...> wrote:
2009/1/6 the Adib wrote:
Maybe it would be good not to localize the entries but to translate inside the code, so that Chinese is always displayed in chinese letters, Russian always using the Cyrillic, German always as "Deutsch". So the native speaker will recognize quite soon.
Sounds good to me, with the only exception that gcc will swear like hell about use of Unicode in source code.
Alexandre
Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
the flag icons are one way to avoid that issue of mistakenly choosing a locale you dont understand. And it is beautiful!
On Tue, Jan 6, 2009 at 7:38 PM, the Adib <theadib@...1439...> wrote:
found this one: https://addons.mozilla.org/en-US/thunderbird/addon/1333
On Tue, Jan 6, 2009 at 5:35 PM, Alexandre Prokoudine <alexandre.prokoudine@...400...> wrote:
2009/1/6 the Adib wrote:
Maybe it would be good not to localize the entries but to translate inside the code, so that Chinese is always displayed in chinese letters, Russian always using the Cyrillic, German always as "Deutsch". So the native speaker will recognize quite soon.
Sounds good to me, with the only exception that gcc will swear like hell about use of Unicode in source code.
Alexandre
Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Hello!
On Tue, Jan 6, 2009 at 11:41 PM, Felipe Sanches <felipe.sanches@...400...> wrote:
the flag icons are one way to avoid that issue of mistakenly choosing a locale you dont understand. And it is beautiful!
Please not! Flags for representing languages is bad concept, because of this three reasons: 1. There are countries with more than one language (e.g. Switzerland has four). 2. There are languages without any representing country (e.g. Kurdish) 3. Some Flags are political problematic. (e.g. If we add the Taiwan flag to Inkscape, Inscape will no longer be allowed in China)
Regards, Tobias
And think of the confused arabic users: arabic is the official language for at least a dozen countries so what flag should represent it?
Best regards, Mourad Mokrane Art director Lumen Media s.r.o. www.lumenstudio.net
----- Original Message ----- From: "Alexandre Prokoudine" <alexandre.prokoudine@...400...> To: "Inkscape Devel List" inkscape-devel@lists.sourceforge.net Sent: Wednesday, January 07, 2009 10:53 AM Subject: Re: [Inkscape-devel] Manually change language in preference dialogue
2009/1/7 Felipe Sanches wrote:
the flag icons are one way to avoid that issue of mistakenly choosing a locale you dont understand. And it is beautiful!
And confusing. Just think of all the people who can't find English version of our web-site :)
Alexandre
Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
participants (7)
-
unknown@example.com
-
Alexandre Prokoudine
-
Felipe Sanches
-
Jon A. Cruz
-
Mourad Mokrane
-
the Adib
-
Tobias Jakobs