Merge pull request #877 from ajnart/language/add-turkish

 Add turkish translation locale
This commit is contained in:
Thomas Camlong
2023-05-04 13:21:40 +09:00
committed by GitHub
3 changed files with 7 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ module.exports = {
'el', 'el',
'sk', 'sk',
'no', 'no',
'tk',
], ],
localeDetection: true, localeDetection: true,

View File

View File

@@ -151,6 +151,12 @@ export const languages: Language[] = [
translatedName: 'Greek', translatedName: 'Greek',
emoji: '🇬🇷', emoji: '🇬🇷',
}, },
{
shortName: 'tr',
originalName: 'Türkçe',
translatedName: 'Turkish',
emoji: '🇹🇷',
},
]; ];
export const getLanguageByCode = (code: string | null) => export const getLanguageByCode = (code: string | null) =>