Community mailing list archives
Re: Load specific localization modulesby
Thank You very much!
On Mon, Nov 28, 2016 at 4:37 PM, Pedro Manuel Baeza Romero <email@example.com> wrote:
As this is done on the very beginning of the DB installation, and to avoid ugly monkey-patching, in Spain we are just replacing l10n_es module with ours giving more priority in the addons_path definition. At the end, you also need to act before creating the DB, and both modules are not compatible between then, so better to just replace it.Regards.2016-11-28 21:17 GMT+01:00 Nhomar Hernandez [Vauxoo] <firstname.lastname@example.org>:On Mon, Nov 28, 2016 at 1:47 PM, Kristian Koci <email@example.com> wrote:I don't know if this can be done, what do You think?
I read the code by accident yestarday, and you need to monkey patcht thid:I did not test it yet.Other option is declare your module with the same name than the original but declare first your repository in the addons-path then with that you module will be the correct l10n_XX instead the original one.