You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
+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.
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 ?
The text was updated successfully, but these errors were encountered: