Skip to content

Commit

Permalink
feat: 🎸 Added Thai translation (kolplattformen#621)
Browse files Browse the repository at this point in the history
  • Loading branch information
kajetan-kazimierczak authored Apr 6, 2022
1 parent fd226ff commit 9e2f94d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/skolplattformen-app/services/languageService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import 'moment/locale/pl'
import 'moment/locale/pt'
import 'moment/locale/ru'
import 'moment/locale/sv'
import 'moment/locale/th'
import 'moment/locale/uk'
import 'moment/locale/zh-cn'
import { I18nManager } from 'react-native'
import { languages } from '../utils/translation'
Expand Down
16 changes: 16 additions & 0 deletions apps/skolplattformen-app/utils/translation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,20 @@ export const languages: Language[] = [
locale: 'es',
active: true,
},
{
langCode: 'th',
languageName: 'Thai',
languageLocalName: 'ไทย',
locale: 'th',
active: true,
},
{
langCode: 'uk',
languageName: 'Ukrainian',
languageLocalName: 'український',
locale: 'uk',
active: false,
},
]

export const translations = {
Expand All @@ -156,6 +170,8 @@ export const translations = {
ru: require('../translations/ru.json'),
so: require('../translations/so.json'),
sv: require('../translations/sv.json'),
th: require('../translations/th.json'),
uk: require('../translations/uk.json'),
zh_Hans: require('../translations/zh_Hans.json'),
zh_Hant: require('../translations/zh_Hant.json'),
}
Expand Down

0 comments on commit 9e2f94d

Please sign in to comment.