Hi there!
I have a question about the files in /locale/view_name/en.php
when these files are generated?
Hi JMontoya
This file is generated when you access to the view for the first time. After it is refresh when you make a change in the template view.
Merci Francois!
Locale files are only updated automatically while working on a development environment.
Only by setting
define('AK_AUTOMATICALLY_UPDATE_LANGUAGE_FILES', true);
on your config/environments/production.php they will be updated on production mode.
I'd love to see an automagic system like ./script/update_locales, which uses a built in tokenizer to analyze code files and forces new locale text entries without the need of executing the piece of code where the text is being used.
You're right, defining AK_AUTOMATICALLY_UPDATE_LANGUAGE_FILES as false avoids executing the "new multilingual text discovery system", so it removes some overload on production.
1 to 10 of 10