Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.

Fallback language #109

Open
1 of 4 tasks
brunnopleffken opened this issue Dec 29, 2016 · 0 comments
Open
1 of 4 tasks

Fallback language #109

brunnopleffken opened this issue Dec 29, 2016 · 0 comments

Comments

@brunnopleffken
Copy link
Owner

brunnopleffken commented Dec 29, 2016

If a translation key doesn't exist in the selected dictionary, i18n module should fallback to default: English (US). I still don't know if should I let administrator disable this feature, because if it's disabled the user will see something like E_LOGIN_ERROR in place.

  • Remove __() from non-translatable strings (e.g. results from databases or user input data) to reduce server/database over processing;
  • Implement fallback script in \AC\Kernel\i18n;
  • When language key is missing, it should be registered in admin logs;
  • Administrator can enable or disable this feature (???).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant