content management system - override translation with silverstripe 3.x (3.1 from GitHub) -
i have folder structure mysite & themes life in 1 folder called app. try override translations app/lang/de.yml.
in general app is...
after: 'framework/*','cms/*'
...but seams i18n order having it's own rueleset i'm not able make them work or understand :-(
i went smtg following in app/lang/_i18n.yml. after or before both not override translation.
--- name: customi18n after: 'defaulti18n' --- i18n: module_priority: - app
i think don't have specify order of translation files your're overriding default. placed translation files in /mysite/lang/ (de.yml,en.yml) , gave them following structure , flushed config via ?flush=all
de: your.translation.key: 'foo bar'
Comments
Post a Comment