[Catalyst] po files directory for I18n and compilation
bobtfish at bobtfish.net
Wed Jul 25 07:00:36 GMT 2012
On 24 Jul 2012, at 23:57, Jeremy Trench wrote:
> Hi, I have just started to use I18n for localization. It works fine, but I am surprised because it seems that .po translations are only active after restarts.
> This way I can´t give customers the freedom to localize/customize their app. I am the webmaster, I must restart the app for every change they do in the translations.
> And the .po files must be loaded in myapp/lib/I18n. But I dont want to give them permissions to use that directory...
> Is there something I can do?
> .mo files are compiled versions of .po files. Can't they be used somehow to avoid restarts?
Put the translations in the database if they're dynamic data which changes? :)
More information about the Catalyst