about summary refs log tree commit diff
path: root/src/locale/helpers.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale/helpers.ts')
-rw-r--r--src/locale/helpers.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/locale/helpers.ts b/src/locale/helpers.ts
index 58e8a3a82..c2434c7df 100644
--- a/src/locale/helpers.ts
+++ b/src/locale/helpers.ts
@@ -1,7 +1,8 @@
 import {AppBskyFeedDefs, AppBskyFeedPost} from '@atproto/api'
+import * as bcp47Match from 'bcp-47-match'
 import lande from 'lande'
+
 import {hasProp} from 'lib/type-guards'
-import * as bcp47Match from 'bcp-47-match'
 import {
   AppLanguage,
   LANGUAGES_MAP_CODE2,
@@ -146,6 +147,8 @@ export function sanitizeAppLanguageSetting(appLanguage: string): AppLanguage {
         return AppLanguage.zh_TW
       case 'it':
         return AppLanguage.it
+      case 'tr':
+        return AppLanguage.tr
       default:
         continue
     }