diff --git a/public/locales/fr/translation.json b/public/locales/fr/translation.json new file mode 100644 index 0000000..e2b72f0 --- /dev/null +++ b/public/locales/fr/translation.json @@ -0,0 +1,52 @@ +{ + "title": "Trouvez un nom original pour votre nouvelle application", + "description": "Vérifiez immédiatement la disponibilité de vos nouvelles idées de noms d'applications dans les principaux registres.", + "placeholder": "rechercher", + "providers": { + "domains": "Domaines", + "github": "Organisation GitHub", + "gitlab": "GitLab", + "npm": "npm", + "pypi": "PyPI", + "rubygems": "RubyGems", + "rust": "Rust", + "homebrew": "Homebrew", + "linux": "Linux", + "instagram": "Instagram", + "twitter": "Twitter", + "slack": "Slack", + "s3": "AWS S3", + "jsorg": "js.org", + "githubSearch": "Dépôt GitHub", + "appStore": "App Store", + "google": "Recherche Google", + "spectrum": "Spectrum", + "heroku": "Heroku", + "now": "Vercel", + "netlify": "Netlify", + "nta": "Company (JP)", + "ocaml": "OCaml", + "firebase": "Firebase" + }, + "uniqueness": { + "high": "Plutôt unique", + "moderate": "Modérément unique", + "low": "Typique", + "description": "L'UNIQ indique à quel point le nom est unique (0 à 100)" + }, + "countryCode": "fr", + "try": "Que pensez-vous de cela ?", + "showMore": "afficher plus", + "noResult": "Pas de résultat", + "gettingStarted": "Pour commencer", + "gettingStartedWithExample": "Essayez avec namae", + "pressEnterToSearch": "Appuyez sur la touche Entrée pour effectuer une recherche", + "available": "Disponible", + "unavailable": "Indisponible", + "language": "Langue", + "community": "Communauté", + "about": "À propos", + "contributors": "Contributeurs", + "issues": "Issues", + "blog": "Article de Blog" +} diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index ba6eeb7..ba1d501 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -32,6 +32,9 @@ const Languages = () => {
  • Deutsch
  • +
  • + Français +
  • 日本語
  • diff --git a/src/util/i18n.ts b/src/util/i18n.ts index 8fc03e4..90bea51 100644 --- a/src/util/i18n.ts +++ b/src/util/i18n.ts @@ -5,7 +5,7 @@ import XHR from 'i18next-xhr-backend'; import LanguageDetector from 'i18next-browser-languagedetector'; import { initReactI18next } from 'react-i18next'; -const TRANSLATION_VERSION = '2'; +const TRANSLATION_VERSION = '3'; i18n .use(Backend) @@ -19,6 +19,7 @@ i18n versions: { en: TRANSLATION_VERSION, de: TRANSLATION_VERSION, + fr: TRANSLATION_VERSION, ja: TRANSLATION_VERSION, 'zh-Hans': TRANSLATION_VERSION, 'zh-Hant': TRANSLATION_VERSION,