Skip to content
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

Find a way how to translate information of the database #891

Open
BigAndini opened this issue Oct 9, 2016 · 1 comment
Open

Find a way how to translate information of the database #891

BigAndini opened this issue Oct 9, 2016 · 1 comment

Comments

@BigAndini
Copy link
Owner

Some information is only in the database, therefore we need a way to translate product names, descriptions, deadlines, agegroups and so on...

  • Is it possible to have only one table to translate all information?
  • How to find all information that needs to be translated?
@BigAndini
Copy link
Owner Author

the translator supports php arrays so feed it data from the database.
or a custom loader implementing Zend\I18n\Translator\Loader\RemoteLoaderInterface

https://dasprids.de/blog/2012/08/23/feeding-zend-i18n-translator-from-a-database/
http://zendframework.github.io/zend-i18n/translation/#supported-formats

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant