On Jan 22, 2009, at 3:03 PM, Paul McNett wrote:

> I'm still not understanding why it matters. Whether you convert the  
> string at import
> time or use time, the string gets converted to the same thing.


        Imagine that the code looks like this:

import dabo
dabo.ui.loadUI("wx")
app = dabo.dApp()
app.setLanguage("es")

        Those constants will have already been set to the English version in  
the code, and the subsequent call to setLanguage() will have no effect.

        The problem with the current code isn't the n_(); it's that  
subsequent references to those strings are not wrapped with _() so  
that they will be localized.


-- Ed Leafe




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to