Skip to content

Commit

Permalink
feat: 🎸 Somali
Browse files Browse the repository at this point in the history
  • Loading branch information
kajetan-kazimierczak committed Nov 16, 2021
1 parent 1c05196 commit df8f2e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/skolplattformen-sthlm/services/languageService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export const isRTL = (langCode: string) => {

const getCorrespondingMomentLocale = (langCode?: string): string => {
if(langCode === 'la') return 'sv'
if(langCode === 'so') return 'sv'
if(langCode === 'nb_NO') return 'nb'
if(langCode === 'zh_Hant' || langCode === 'zh_Hans') return 'zh-cn'
return langCode!
Expand Down
2 changes: 1 addition & 1 deletion apps/skolplattformen-sthlm/utils/translation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export const languages: Language[] = [
langCode: 'so',
languageName: 'Somali',
languageLocalName: 'af-Soomaali',
active: false,
active: true,
},
{
langCode: 'es',
Expand Down

0 comments on commit df8f2e3

Please sign in to comment.