Try this, it works on 0.8.7: msgid "" "firstname" msgstr "" "Nombre"
четверг, 10 апреля 2014 г., 21:44:42 UTC+4 пользователь [email protected] написал: > > Hi everyone > > I have the following problem when making internationalize my app > > For example, my .po files in priv/lang are: > > > *strings.es.po* > > msgid "firstname" > msgstr "Nombre" > > msgid "lastname" > msgstr "Apellido" > > msgid "email" > msgstr "Correo" > > > > > *strings.en.po*msgid "firstname" > msgstr "First name" > > msgid "lastname" > msgstr "Last name" > > msgid "email" > msgstr "Email" > > > *My controller: * > > index('GET', []) -> > {ok,[], [{"Content-Language", "es"}]}. > > > *And my view file:* > > {% trans "firstname" %} > {% trans "lastname" %} > {% trans "email"%} > > > And when i access to my view, only seeing the strings in english, not in > spanish and other languages... > > that may be? > -- You received this message because you are subscribed to the Google Groups "ChicagoBoss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at http://groups.google.com/group/chicagoboss. To view this discussion on the web visit https://groups.google.com/d/msgid/chicagoboss/448d6c7b-f76a-4b4f-b80d-efc4d0475204%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
