-
Notifications
You must be signed in to change notification settings - Fork 49
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
Adding localization to the project #19
Conversation
Thank you, but I have a couple of questions. For one I do not use gettext files right now for translation. Does it mix with ZF2 if you use multiple different adapters? And how is the textdomain set? If I would have different modules with this structure, would it work out of the box? Also I would remove the setting of the locale from this module. That is application specific and should go into your own application module. |
On 06/12/13 06:34, Philipp Dobrigkeit wrote:
Using gettext is practically unobtrusive. You just add '_' whenever you
See this tutorial from Manuel Stosic: My experience is that it works out of the box. But you must have sane
Done.
|
…n module config file.
using _() is the wrong way to translate form labels. the form label view helper itself is aware of the translator and can translate them. See the code at |
On 06/12/13 11:58, Stefan Kleff wrote:
Well, you're right in that. But, tools aren't always aware... i.e. you
Thanks!
|
Fixed translation
Translation
Personaly in think evey module needs to have the basi tranaltion files and settings. |
Closed? |
Sorry, I am just working on an update. Was cleaning up some stuff. Will merge your fixes. Thank you and apologies for the long delay |
Adding localization to the project
so it will be merged later on ? |
Yes, will be included in the next update |
hmm update was just before my comment. |
Localization is a must for a generic module like this one.