noosfero | Custom locales for personalized internationalization (#376)

Caio Tiago Oliveira caiotiago at colivre.coop.br
Thu Jan 15 02:26:56 BRST 2015


On 01/14/2015 06:34 PM, Bráulio Bhavamitra wrote:
> Sorry @larissa <https://gitlab.com/u/larissa>, there is no |paths|, only
> |load_paths|. It is used on |config/application.rb|:
>
> |148     config.i18n.load_path += Dir.glob "#{Rails.root}/{baseplugins,config/plugins}/*/locales/*.{rb,yml}"
> |

That's for plugins, and this line already loads the localization files 
for the plugins. Do you want a localization override for plugins too?
If so, the patch is simpler, we just have to add a given folder to the 
load path. A patch is welcome.





More information about the Noosfero-dev mailing list