Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manage primary local #57

Open
kryna opened this issue Feb 5, 2014 · 3 comments
Open

Manage primary local #57

kryna opened this issue Feb 5, 2014 · 3 comments

Comments

@kryna
Copy link

kryna commented Feb 5, 2014

I set my primary local as Polish and English as additional. Can I somehow change values of keys in my primary local via http://my_app.com/tolk ?

@dinatih
Copy link

dinatih commented Apr 2, 2014

+1

@Neofirma
Copy link

I have the same problem.

I tried to solve it with two polish YAML files, a pl.yml (to use on the website) and a pl-PL.yml - as default values and of course an en.yml, de.yml etc...

The following configuration is a problem:

Tolk::Locale.primary_locale_name = 'pl-PL' 

I added it to tolk.rb and the file seems to work fine (i see "Primary locale is pl-PL" and below there are 3 languages: English, German, Polish) but after applying any changes, the primary locale changes back to website default 'pl' and i see "Primary locale is Polish" and below 3 languages: English, German, pl-PL - which is incorrect.

Only re-runnig rails restores good locale_name (from tolk.rb config file) as 'pl-PL'

@unixmonkey
Copy link

+1 I use translations to manage all kinds of text in my app, and would like to have an interface for the customer to change them rather than changing en.yml for copy edits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants