I have a certain numbers of I18n locale available defined in application.rb
config/application.rb
...
config.i18n.available_locales = [:at, :de, :ch]
...
I need to manually expire the cache for all languages at once in certain controller actions. Is there a way to loop through all languages ?
That wasn't that difficult in the end, I miss-spelt the method I thought it must be and hence it an error each time. If you are facing the same issue have a look on I18n.methods in Rails console.
To answer the question:
So available_locales is what I (and perhaps you) require.