noosfero | move plugins translations to the plugins themselves (#407)
Bráulio Bhavamitra
gitlab at gitlab.com
Sat Feb 7 17:07:53 BRST 2015
New comment for Merge Request 407
https://gitlab.com/noosfero/noosfero/merge_requests/407#note_840727
Bráulio Bhavamitra
another important problem: plugins translations are added into fast_gettext's chain at `lib/noosfero/i18n.rb`, in *directory* order.
then if two plugins define the same message, there is not guarantee the correct translation will be return for one of these plugins.
for translating messages in a plugin only two repos should be considered: the one from the plugin being used, the core and custom_locales repos. so there is the need for a specific chain for each plugin, right?
`i18n` has a scope option.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150207/d67e662a/attachment.html>
More information about the Noosfero-dev
mailing list