import i18next from 'i18next';
import { getLanguage } from './utils';
import { en } from './translations/en';
+import { el } from './translations/el';
+import { eu } from './translations/eu';
import { eo } from './translations/eo';
import { es } from './translations/es';
import { de } from './translations/de';
// https://github.com/nimbusec-oss/inferno-i18next/blob/master/tests/T.test.js#L66
const resources = {
en,
+ el,
+ eu,
eo,
es,
ka,
import 'moment/locale/es';
+import 'moment/locale/el';
+import 'moment/locale/eu';
import 'moment/locale/eo';
import 'moment/locale/de';
import 'moment/locale/zh-cn';
export const languages = [
{ code: 'ca', name: 'Català' },
{ code: 'en', name: 'English' },
+ { code: 'el', name: 'Ελληνικά' },
+ { code: 'eu', name: 'Euskara' },
{ code: 'eo', name: 'Esperanto' },
{ code: 'es', name: 'Español' },
{ code: 'de', name: 'Deutsch' },
lang = 'ka';
} else if (lang.startsWith('hi')) {
lang = 'hi';
+ } else if (lang.startsWith('el')) {
+ lang = 'el';
+ } else if (lang.startsWith('eu')) {
+ lang = 'eu';
} else {
lang = 'en';
}