docs
docs copied to clipboard
How to rebuild default catalogs?
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,
+1
+1
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 😅 .
OK @matks so how to rebuild a catalog for a native module (it's for a PR)
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