[wxPython-users] localization, is it slow ?
Werner F. Bruhin
werner.bruhin at free.fr
Sat Dec 1 03:09:08 PST 2007
Stef,
Stef Mientki wrote:
> hello,
>
> I was investigating the possibility to support multiple languages in
> my application,
> and found il8n.
>
> From what I read, I understand that il8n is using the original string
> as the identifier.
I think that is the beauty of it as a particular string will only exist
once in the .po and .mo files, i.e. only be translated once, and it will
be exactly the same everywhere. Which with other systems who assign
some integer number this is not guaranteed.
> If that's true, isn't it incredibly slow ?
> ( I'm thinking of many help texts, each of several lines long)
I don't know for sure but I think that the .mo files are pretty well
optimized for this stuff. I have over 1,900 strings for labels, tool
tips and context help and have not seen any speed issue.
Werner
More information about the wxpython-users
mailing list