replace : outfile = open(mo_file, 'w') outfile = open(mo_file, 'wb') in frontend.py
On 8月30日, 上午1時38分, Olli Wang <[EMAIL PROTECTED]> wrote: > Hi, folk. > I just follow pylons doc "Internationalization and > Localization"(http://wiki.pylonshq.com/display/pylonsdocs/ > Internationalization+and+Localization#testing-the-application) but got > something weird. > In section 1.4, it said we should get the result as: > Default: Hello > fr: Bonjour > en: Hello > es: Hola! > > But don't know why I got the result as: > Default: Hello > ['fr']: bel 0.9 > ['en']: bel 0 > ['es']: bel 0.9 > > Any help? Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---