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 turkish translation #347

Merged
merged 1 commit into from
Jul 4, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/i18n/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const zhcn = require('./locales/zhcn.json');
const es = require('./locales/es.json');
const si = require('./locales/si.json');
const it = require('./locales/it.json');
const tr = require('./locales/tr.json');

const resources = {
en: { translation: en },
Expand All @@ -20,6 +21,7 @@ const resources = {
es: { translation: es },
si: { translation: si },
it: { translation: it },
tr: { translation: tr },
};

i18n
Expand Down Expand Up @@ -63,4 +65,8 @@ export const Languages = [
label: 'Italiano',
value: 'it',
},
{
label: 'Türkçe',
value: 'tr',
},
];
2 changes: 1 addition & 1 deletion src/i18n/i18next-parser.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ module.exports = {
lineEnding: 'auto',
// Control the line ending. See options at https://github.com/ryanve/eol

locales: ['en', 'de', 'zhcn', 'es', 'si', 'it'],
locales: ['en', 'de', 'zhcn', 'es', 'si', 'it', 'tr'],
// An array of the locales in your applications

namespaceSeparator: false,
Expand Down