Add french translation (#2945)

* Add french translation

* Remove outdated instruction

* Fix missing instructions
This commit is contained in:
nbxl21
2025-05-18 02:10:24 +02:00
committed by GitHub
parent 54b5a4ae55
commit 100695c262
8 changed files with 523 additions and 5 deletions

View File

@@ -99,6 +99,7 @@ npm run start:ui:proxy
- Spanish
- Polish
- German
- French
<!-- - Korean
- Russian
- Japanese
@@ -107,7 +108,6 @@ npm run start:ui:proxy
- Mandarin
- Hindi
- Portuguese
- French
- Italian
- Thai -->
@@ -124,9 +124,11 @@ Translate the English dictionary below into `<language>`. Format the result as a
- In the `shared` project:
1. Create a new file (`language.ts`) in `src/i18n/dictionaries`
1. Export the dictionary in `src/public-api.ts`
1. Update the `I18N_PROVIDERS` array in `src/i18n/i18n.providers.ts` (2 places)
1. Update the `languages` array in `/src/i18n/i18n.service.ts`
2. Update the `I18N_PROVIDERS` array in `src/i18n/i18n.providers.ts` (2 places)
3. Update the `languages` array in `/src/i18n/i18n.service.ts`
4. Add the name of the new language (lowercase) to the English dictionary in `src/i18n/dictionaries/en.ts`. Add the translations of the new languages name (lowercase) to ALL non-English dictionaries in `src/i18n/dictionaries/` (e.g., `es.ts`, `pl.ts`, etc.).
If you have any doubt about the above steps, check the [French example PR](https://github.com/Start9Labs/start-os/pull/2945/files) for reference.
- Here in this README:
@@ -150,6 +152,7 @@ Languages:
- Spanish
- Polish
- German
- French
#### Adding to StartOS