-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Configuration for DbMessagesLoader #43
Comments
If running Does your code have calls to i18n functions like |
Yes, I baked the views with CLI and every echo has
When I simply extract the |
Hope you were able to figure out the problem. Closing as the issue has gone stable and there have been no other reports of similar problem. |
Hi,
I'm using cake 3.8.4 and I try to cofigure DbMessagesLoader.
I only have a single MVC to try it.
I did the Installation/Usage/DbMessagesLoader part of the documentation (including table creation).
I changed a line in the example :
I18n::setConfig('default', function ($domain, $locale) {
with
I18n::config('default', function ($domain, $locale) {
because
I18n::setConfig
doesn't exist in 3.8.4The bootstrap section looks like this :
When I run the script
bin/cake ADmad/I18n.i18n extract
, the CLI seems right, but the table "i18n_messages" is not populated.What did I miss ? Does it still work with cake 3.8.x ?
The text was updated successfully, but these errors were encountered: