|
List Info
Thread: RE: I18N Software Internationalization
|
|
| RE: I18N Software Internationalization |

|
2007-03-30 08:41:46 |
|
| I just
created a method for re-populating the text visible on screen, which I call
following language change.
David
Hi
Paulo,
This is how i18n works. The widgets receive just text not some
magic object that morphs on events. You need to recreate everything that
received translatable text! If you decouple the interface from the
business logic this shouldn't be too hard otherwise the simplest way to handle
the problem is to just ask the user to restart the application and save the
language information in a configuration file. I don't think the user changes
the language too often. ;)
Peter.
On 3/30/07, Paulo
Henrique Amorim <gmail.com">paulojamorim gmail.com>
wrote:
Hello, I am internationalizing a software, but
it appeared a problem. I add 3 language's in MenuBar in the hour
that program user change language the program not language
change. Code: Event OnMenuChange
refer the one language.
language =
gettext.translation('en', './locale',
languages=['languages'])
language.install(unicode = True)
_ = language.gettext
It only
functions when code execute before calling the Frame.
Best regards Paulo Henrique J.
Amorim
-- There is
NO FATE, we are the creators. |
[1]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|