infer translate from presence of translation dir

This commit is contained in:
sebastien 2025-07-07 14:14:31 +02:00
parent 5cfe2c1dca
commit fe7dba95a8
7 changed files with 91 additions and 57 deletions

View file

@ -33,9 +33,8 @@ export type I18nLocaleConfig = {
*/
path: string;
/**
* Should we run the extra translation process for this locale?
* By default, we skip the translation process for the default locale,
* while all the other locales run it.
* Should we attempt to translate this locale?
* By default, it will only be run if the `./i18n/<locale>` exists.
*/
translate: boolean;
};