Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌏: Add indonesia translation #1563

Merged
merged 2 commits into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions client/src/components/Nav/SettingsTabs/General/General.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ export const LangSelector = ({
{ value: 'vi-VN', display: localize('com_nav_lang_vietnamese') },
{ value: 'tr-TR', display: localize('com_nav_lang_turkish') },
{ value: 'nl-NL', display: localize('com_nav_lang_dutch') },
{ value: 'id-ID', display: localize('com_nav_lang_indonesia') },
];

return (
Expand Down
2 changes: 2 additions & 0 deletions client/src/localization/Translation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import TraditionalChinese from './languages/ZhTraditional';
import Vietnamese from './languages/Vi';
import Turkish from './languages/Tr';
import Dutch from './languages/Nl';
import Indonesia from './languages/Id';
// === import additional language files here === //

const languageMap: { [key: string]: unknown } = {
Expand All @@ -35,6 +36,7 @@ const languageMap: { [key: string]: unknown } = {
'vi-VN': Vietnamese,
'tr-TR': Turkish,
'nl-NL': Dutch,
'id-ID': Indonesia,
// Add additional language mappings here
};

Expand Down
1 change: 1 addition & 0 deletions client/src/localization/languages/Eng.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -320,4 +320,5 @@ export default {
com_nav_lang_arabic: 'العربية',
com_nav_lang_turkish: 'Türkçe',
com_nav_lang_dutch: 'Nederlands',
com_nav_lang_indonesia: 'Indonesia',
};
Loading