Skip to content

Commit

Permalink
feat(lang): add Albanian display language (#2605)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCatLady committed Mar 12, 2022
1 parent 4549ed3 commit 3d32462
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/context/LanguageContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export type AvailableLocale =
| 'pt-BR'
| 'pt-PT'
| 'ru'
| 'sq'
| 'sr'
| 'sv'
| 'zh-CN'
Expand Down Expand Up @@ -85,6 +86,10 @@ export const availableLanguages: AvailableLanguageObject = {
code: 'pt-PT',
display: 'Português (Portugal)',
},
sq: {
code: 'sq',
display: 'Shqip',
},
sv: {
code: 'sv',
display: 'Svenska',
Expand Down
2 changes: 2 additions & 0 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ const loadLocaleData = (locale: AvailableLocale): Promise<any> => {
return import('../i18n/locale/pt_PT.json');
case 'ru':
return import('../i18n/locale/ru.json');
case 'sq':
return import('../i18n/locale/sq.json');
case 'sr':
return import('../i18n/locale/sr.json');
case 'sv':
Expand Down

0 comments on commit 3d32462

Please sign in to comment.