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

i18n French language support 🇫🇷 #20

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
23 changes: 23 additions & 0 deletions src/lib/i18n/fr/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import type { Translation } from '../i18n-types';
import en from '../en';

const de: Translation = {
...(en as Translation),
message: 'Bonjour le monde',
onboarding: {
labels: {
uploadFile: 'Uploader un fichier',
username: "Nom d'utilisateur",
},
messages: {
avatar: 'Choisissez un avatar',
final: "C'est tout! C'est parti!",
main: 'Bienvenue sur listd! Configurons votre profil.',
},
},
signUp: "S'inscrire avec YouTube",
tagline:
"Présentation de l'expérience YouTube ultime. Que vous recherchiez de nouveaux contenus à regarder ou que vous souhaitiez partager votre propre liste avec vos amis, notre application vous couvre.",
};

export default de;
1 change: 1 addition & 0 deletions src/lib/i18n/i18n-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export type Locales =
| 'de'
| 'en'
| 'es'
| 'fr'
| 'it'
| 'ru'
| 'uk'
Expand Down
1 change: 1 addition & 0 deletions src/lib/i18n/i18n-util.async.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const localeTranslationLoaders = {
de: () => import('./de'),
en: () => import('./en'),
es: () => import('./es'),
fr: () => import('./fr'),
it: () => import('./it'),
ru: () => import('./ru'),
uk: () => import('./uk'),
Expand Down
2 changes: 2 additions & 0 deletions src/lib/i18n/i18n-util.sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import ar from './ar'
import de from './de'
import en from './en'
import es from './es'
import fr from './fr'
import it from './it'
import ru from './ru'
import uk from './uk'
Expand All @@ -18,6 +19,7 @@ const localeTranslations = {
de,
en,
es,
fr,
it,
ru,
uk,
Expand Down
1 change: 1 addition & 0 deletions src/lib/i18n/i18n-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const locales: Locales[] = [
'de',
'en',
'es',
'fr',
'it',
'ru',
'uk'
Expand Down