Increase the number of languages supported
miurla opened this issue · 4 comments
miurla commented
We got the Translator module (#47) added, which supports the languages of the most visited countries.
- Japan
- France
- Russian
- France
- Germany
- India
- Brazil
- Thailand
- Israel
- Spain
miurla commented
prompt
We will continue to internationalize our applications.
Japan
France
Russia
France
Germany
India
Brazil
Thailand
Israel
Spain
Sort in ascending order based on language code.
miurla commented
next-i18next.config.js
['br', 'de', 'en', 'es', 'fr', 'he', 'hi', 'hu', 'ja', 'ru', 'th']
miurla commented
npm run traslate
Occasionally, there were cases where this explanation was given
- "MODEL": "El texto a traducir es: "Modelo",
- "MODEL": "The translated text for "Model" in Hindi (hi) is "मॉडल".",
miurla commented
/utils/language.ts
export const availableLanguages: Language[] = [ { code: 'br', name: 'Português (Brasil)', flag: '🇧🇷' }, { code: 'de', name: 'Deutsch', flag: '🇩🇪' }, { code: 'en', name: 'English', flag: '🇺🇸' }, { code: 'es', name: 'Español', flag: '🇪🇸' }, { code: 'fr', name: 'Français', flag: '🇫🇷' }, { code: 'he', name: 'עברית', flag: '🇮🇱' }, { code: 'hi', name: 'हिन्दी', flag: '🇮🇳' }, { code: 'hu', name: 'Magyar', flag: '🇭🇺' }, { code: 'ja', name: '日本語', flag: '🇯🇵' }, { code: 'ru', name: 'Русский', flag: '🇷🇺' }, { code: 'th', name: 'ไทย', flag: '🇹🇭' }, ];