[Rails] Re: GetText: Works with en_GB and en_US, but doesn't with de

Masao Mutoh mutoh at highway.ne.jp
Thu Feb 9 13:12:06 GMT 2006


Hi,

On Thu, 9 Feb 2006 13:57:07 +0100
Grzegorz Daniluk <daniluk at yahoo.com> wrote:

> > Now I set en-gb as default language in Firefox and run my app >> works!
> > Then I set en-us as default language in Firefox and run my app >> works, 
> > too!
> > Last but not least I set de-de as default language in Firefox and run my 
> > app >> Failure!
> 
> I had similar problem but I didn't get any error message so your problem 
> might be different. Anyway make sure that your server has de_DE locales 
> installed. Check this with "locale -a" command, if not then install 
> them. There is no info about this at Ruby gettext page.

Ruby-GetText-Package doesn't depend on the system locale.
If you have a translated po file in po/#{lang}/ correctly,
it will be shown the language even if your server doesn't support your locale.

Anyway, I investigated his program ... 
And in his case, he didn't translate po/de_DE/hisapp.po, 
so English was shown ;)

-- 
.:% Masao Mutoh<mutoh at highway.ne.jp>


More information about the Rails mailing list