Hi guys,

Under section "Content-Language" in the docs, there is the snippet about the 
headers, that need to be set, too.
http://www.chicagoboss.org/api-controller.html

--Kai

On Apr 10, 2014, at 14:31, Jesse Gumm <[email protected]> wrote:

> Hi Gustavo,
> 
> This was fixed last week. Are you running this with the latest version?
> 
> --
> Jesse Gumm
> Owner, Sigma Star Systems
> 414.940.4866 || sigma-star.com || @jessegumm
> 
> On Apr 10, 2014 1:29 PM, <[email protected]> wrote:
> 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.
> 
> -- 
> 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/CAPTXyXcbCYSQeNz%2BZet6aebry3Cypge1TruCZ5uMH0NkxpiaHQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/ACD27473-7B98-4D07-9D36-24E952C602A6%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to