vova07 / yii2-start

Yii2-Start application
Other
273 stars 115 forks source link

Missing English translation folder/file #120

Closed golles closed 9 years ago

golles commented 9 years ago

Every time I load a backend page I get this error:

The message file for category 'vova07/themes/admin' does not exist: some_path/vendor/vova07/yii2-start-themes/admin/messages/en/vova07/themes/admin.php

For frontend as well:

The message file for category 'vova07/themes/site' does not exist: some_pathl/vendor/vova07/yii2-start-themes/site/messages/en/vova07/themes/site.php

There is only pr-BR and ru messages in that module

vova07 commented 9 years ago

Fixed in https://github.com/vova07/yii2-start-themes/commit/efd69298cfcda7a39df9427cde40974e029770b3

golles commented 9 years ago

It still gives the same error. I guess it really needs the files.

vova07 commented 9 years ago

Do you really have the last version? Can you check if your yii2-start-themes module has the last bootstrap file with false value for forceTranslation attribute?

golles commented 9 years ago

Yes, both site and admin have 'forceTranslation' => false,

golles commented 9 years ago

I think this is an issue because I've set

'language' => 'en'

in main config file.

I'm also getting 404's for english language files, eg when I'm opening the new blog page: backend/assets/b75b2961/lang/en.js (Imperavi Redactor) backend/assets/8cf95688/ui/i18n/datepicker-en.js

If I change the lang to eg Dutch (nl) the errors are gone because the nl files do exist.