docs icon indicating copy to clipboard operation
docs copied to clipboard

How to rebuild default catalogs?

Open e-gaulue opened this issue 4 years ago • 5 comments

Hi all,

Sorry to disturb, but I can't find answer in the documentation, neither on forum (https://www.prestashop.com/forums/topic/1041966-are-translation-catalog-automatically-update/) or Slack.

The documentation states (https://devdocs.prestashop.com/1.7/development/internationalization/translation/translation-tips/) :

Normally you would have to manually add each wording the appropriate default catalogue files (located in the app/Resources/translations/default folder). Thankfully, this task has been automated by the Core team!

Before every minor release, the whole source code for PrestaShop and Native Modules is analyzed using TranslationToolsBundle, and all newly discovered wordings are automatically added to the default catalogue.

Is this just possible to know how to request the default catalogue update?

Regards,

e-gaulue avatar Feb 03 '21 19:02 e-gaulue

+1

mdkbdg avatar Mar 24 '21 16:03 mdkbdg

+1

jf-viguier avatar May 31 '21 12:05 jf-viguier

Hi everyone, sorry for late answer

The rebuild of default catalog can be done using an automated tool, but this automated tool is not available publicly for now. It is an internal tool.

I hope we could publish it in the future, but it needs work and cleaning before we could open source it 😅 .

matks avatar May 31 '21 13:05 matks

OK @matks so how to rebuild a catalog for a native module (it's for a PR)

jf-viguier avatar May 31 '21 13:05 jf-viguier

OK @matks so how to rebuild a catalog for a native module (it's for a PR)

That's a good point. I transfer this to https://github.com/prestashop/docs it's a question we need to answer

matks avatar Jun 02 '21 15:06 matks