Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added fr-FR #20

Merged
merged 7 commits into from
Aug 12, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/background/services/settings/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export enum Languages {
EN = 'en',
DE = 'de-DE',
ES = 'es-EM',
FR = 'fr-FR',
JA = 'ja-JP',
HI = 'hi-IN',
KO = 'ko-KR',
Expand All @@ -23,6 +24,7 @@ export enum LanguageLinks {
EN = 'en',
DE = 'de',
ES = 'es',
FR = 'fr',
JA = 'ja',
// eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
HI = 'en', // does not have translated pages in HelpCenter TODO: modify if we are having more external pages with HI language set up
Expand Down
6 changes: 6 additions & 0 deletions src/hooks/useLanguages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ export function useLanguage() {
originalName: 'Deutsch',
linkCode: LanguageLinks.DE,
},
{
code: Languages.FR,
name: t('French'),
originalName: 'Français',
linkCode: LanguageLinks.FR,
},
{
code: Languages.HI,
name: t('Hindi'),
Expand Down
1 change: 1 addition & 0 deletions src/localization/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ i18next
'zh-TW',
'es-EM',
'ja-JP',
'fr-FR',
],
load: 'currentOnly',
interpolation: {
Expand Down
Loading
Loading