Commit c34eabd9 authored by Eugen Rochko's avatar Eugen Rochko

Update translationRunner.js, src/reducer.js files

parent d14eb2e6
...@@ -5,7 +5,7 @@ import { ...@@ -5,7 +5,7 @@ import {
FILTER_LANGUAGE_CHANGE, FILTER_LANGUAGE_CHANGE,
} from './actions'; } from './actions';
const supportedLocales = ['en', 'fr', 'pl', 'es', 'ja', 'ko', 'de','pt-BR', 'ar', 'tr']; const supportedLocales = ['en', 'fr', 'pl', 'es', 'ja', 'ko', 'de','pt-BR', 'ar', 'tr', 'sq'];
const initialLocale = () => { const initialLocale = () => {
const lang = navigator.language.split('-')[0]; const lang = navigator.language.split('-')[0];
......
...@@ -3,5 +3,5 @@ const manageTranslations = require('react-intl-translations-manager').default; ...@@ -3,5 +3,5 @@ const manageTranslations = require('react-intl-translations-manager').default;
manageTranslations({ manageTranslations({
messagesDirectory: 'build/messages', messagesDirectory: 'build/messages',
translationsDirectory: 'src/locales/', translationsDirectory: 'src/locales/',
languages: ['en', 'fr', 'pl', 'es', 'ja', 'ko', 'de', 'pt-BR', 'zh', 'ru', 'it', 'ar', 'tr'] languages: ['en', 'fr', 'pl', 'es', 'ja', 'ko', 'de', 'pt-BR', 'zh', 'ru', 'it', 'ar', 'tr', 'sq']
}); });
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment