Customize i18n folder for plugins
planned
Paweł
Right now i18n folder names are huge due to lengthy plugin names, for example:
docusaurus-plugin-content-docs-learn
Having an way to omit the plugin name and leave only the plugin id would be great and more consistent with the location of files in the original locale.
A single boolean in plugin settings "usePluginIdForI18nFolder" would be enough, or maybe a string property for a custom folder name.
P
Przemysław Sztoch
This customization should be joined with https://docusaurus.io/feature-requests/p/custom-translation-files-location-for-docs-plugin
Sébastien Lorber
planned
Definitively something we want to do, but maybe not with the API you suggest however.
I am also frustrated that our default i18n paths are so long, we should find a way to make them much shorter and intutive:
- i18n/fr/docs/
- i18n/fr/docs-instance2/