Użytkownik Laurence Anthony napisał:
> Hi again,
>
>
>>> Just copy the "en" folder as "jp" (or the right code, look it up)
>>>
> I'm not sure what "Look it up" means here. I tried "jp" but it didn't
> work. In the end, I went into dLocalize.py in the Daba Runtime
> directory and changed the following line:
> 56: setLanguage(_defaultLanguage, _defaultEncoding)
> to
> 56: setLanguage('en', 'utf8')
>
> Everything then worked. Looking deeper, both _defaultLanguage and
> _defaultEncoding were returning a blank. Obviously, forcing 'en' and
> 'utf8' by hacking dLocalize.py is not the best solution. Does anybody
> have a better solution? It seems to me that the localized script being
> used is broken for every OS in the world except those listed
> explicitly below, which is a shame.
> _languageAliases = {"english": "en", "English_United States":"en",
> "spanish": "es", "espanol": "es", "español": "es",
> "french": "fr", "francais": "fr", "français": "fr",
> "german": "de", "deutsch": "de",
> "italian": "it", "italiano": "it",
> "portuguese": "pt", "portuguése": "pt",
> "russian": "ru"
>
Hi.
Don't change anything in Dabo modules.
In your application startup script, just after code "app.setup()"
add line "app.setLanguage('jp')".
You have to do what Hraban said before.
It must work.
--
Regards
Jacek Kałucki
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]