import { ga } from './translations/ga';
import { sr_Latn } from './translations/sr_Latn';
import { da } from './translations/da';
+import { oc } from './translations/oc';
// https://github.com/nimbusec-oss/inferno-i18next/blob/master/tests/T.test.js#L66
const resources = {
ga,
sr_Latn,
da,
+ oc,
};
function format(value: any, format: any): any {
{ code: 'hi', name: 'मानक हिन्दी' },
{ code: 'fa', name: 'فارسی' },
{ code: 'ja', name: '日本語' },
+ { code: 'oc', name: 'Occitan' },
{ code: 'pl', name: 'Polski' },
{ code: 'pt_BR', name: 'Português Brasileiro' },
{ code: 'zh', name: '中文' },
lang = 'ko';
} else if (lang.startsWith('da')) {
lang = 'da';
+ } else if (lang.startsWith('oc')) {
+ lang = 'oc';
} else {
lang = 'en';
}