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/09c929fa-ae2a-4a4e-bbb4-4f9d8affa864%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to