mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
Add french translation (#2945)
* Add french translation * Remove outdated instruction * Fix missing instructions
This commit is contained in:
@@ -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 language’s 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user