diff --git a/docs/build-localization-locally.md b/docs/build-localization-locally.md index f3347cc88..29544059a 100644 --- a/docs/build-localization-locally.md +++ b/docs/build-localization-locally.md @@ -20,5 +20,5 @@ To build the localization translations for all languages besides English: * Run `npm run loc:build` to build the translations, move them to the package directories, and combine them altogether in one directory * Run `npm run build-translations` to build the full, compiled translations for the web and desktop packages -* `web/dev-server/resources/i18n` contains web translations (web + all packages) +* `web/resources/i18n` contains web translations (web + all packages) * `desktop/resources/i18n` contains desktop translations (desktop + all packages) diff --git a/packages/bonito-core/package.json b/packages/bonito-core/package.json index 65358e8ad..456bd80cd 100644 --- a/packages/bonito-core/package.json +++ b/packages/bonito-core/package.json @@ -25,7 +25,7 @@ "clean:build": "bux rmrf ./build", "clean:esm": "bux rmrf ./lib", "clean:cjs": "bux rmrf ./lib-cjs", - "clean:generated": "bux rmrf ./src/ui-common/generated", + "clean:generated": "bux rmrf ./src/generated", "test": "jest", "test:coverage": "jest --collect-coverage", "test:all": "npm run test:coverage", diff --git a/packages/playground/src/demo/form/checkbox/playground.i18n.yml b/packages/playground/src/demo/form/checkbox/checkbox.i18n.yml similarity index 100% rename from packages/playground/src/demo/form/checkbox/playground.i18n.yml rename to packages/playground/src/demo/form/checkbox/checkbox.i18n.yml diff --git a/util/bux/translation-functions.ts b/util/bux/translation-functions.ts index 40c71ab4b..b69f383be 100644 --- a/util/bux/translation-functions.ts +++ b/util/bux/translation-functions.ts @@ -16,6 +16,7 @@ const writeFile = promisify(fs.writeFile); const readFileAsync = promisify(fs.readFile); const writeFileAsync = promisify(fs.writeFile); +// Generate bundled translations for web and desktop directories export async function mergeAllTranslations(outputPath: string) { const currentDirectory = process.cwd(); const rootDir = path.resolve(currentDirectory, "..");