Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Add translation notification banner (#457)
Olga Bulatc640af62be36
diff --git a/package.json b/package.jsonindex 20cc1ca83..38607cc91 100644--- a/package.json+++ b/package.json@@ -12,7 +12,7 @@"author": "sebworks","private": true,"scripts": {- "dev": "pnpm i18n:get-valid-locales && cross-env ENABLE_AUDIO=true nuxt",+ "dev": "pnpm i18n:create-locales-list && cross-env ENABLE_AUDIO=true nuxt","build": "pnpm i18n:get-translations && nuxt build","generate": "nuxt generate","start": "nuxt start",@@ -32,10 +32,10 @@"format:test": "prettier --check .","vue-i18n-extract": "vue-i18n-extract report -v './src/**/*.?(js|vue)' -l './src/locales/*.?(json)'","prepare": "husky install",- "i18n:get-valid-locales": "node src/locales/scripts/get-validated-locales",- "i18n:get-translations": "node src/locales/scripts/get-translations && pnpm i18n:get-valid-locales",+ "i18n:update-locales": "node src/locales/scripts/get-validated-locales",+ "i18n:get-translations": "node src/locales/scripts/get-translations && pnpm i18n:update-locales","i18n:generate-pot": "node src/locales/scripts/json-to-pot",- "i18n:update-locales": "node src/locales/scripts/update-locale-list"+ "i18n:create-locales-list": "node src/locales/scripts/create-wp-locale-list"},"dependencies": {"@nuxt/components": "^2.1.6",@@ -64,6 +64,7 @@"lodash.findindex": "^4.6.0","lodash.isempty": "^4.4.0","lodash.sortby": "^4.7.0",+ "node-html-parser": "^5.1.0","nuxt": "^2.15.4","reakit-utils": "^0.15.2","uuid": "^8.3.2",@@ -111,7 +112,7 @@},"engines": {"node": ">= 16.0.0",- "pnpm": "6.24.0"+ "pnpm": ">=6.24.0"},"browserslist": ["> 1%",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex ae10c79e4..d2f8635dd 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -54,6 +54,7 @@ specifiers:lodash.findindex: ^4.6.0lodash.isempty: ^4.4.0lodash.sortby: ^4.7.0+ node-html-parser: ^5.1.0nuxt: ^2.15.4postcss: ^8.3.6prettier: ^2.2.1@@ -97,6 +98,7 @@ dependencies:lodash.findindex: 4.6.0lodash.isempty: 4.4.0lodash.sortby: 4.7.0+ node-html-parser: 5.1.0nuxt: [email protected]reakit-utils: 0.15.2uuid: 8.3.2@@ -13144,6 +13146,13 @@ packages:he: 1.2.0dev: false+ /node-html-parser/5.1.0:+ resolution: {integrity: sha512-l6C1Gf1o7YuxeMGa17PypEez/rj+ii3q4/NZG37nRmWSLDjHyB0WNrlE4h2UW92D0JSfUSfu+lOvxThttVe7Jw==}+ dependencies:+ css-select: 4.2.0+ he: 1.2.0+ dev: false+/node-int64/0.4.0:resolution: {integrity: sha1-h6kGXNs1XTGC2PlM4RGIuCXGijs=}dev: truediff --git a/src/components/NotificationBanner.vue b/src/components/NotificationBanner.vueindex 10d2d10d7..e38ce7b55 100644--- a/src/components/NotificationBanner.vue+++ b/src/components/NotificationBanner.vue@@ -1,105 +1,46 @@<template>- <div class="notification__wrapper">- <p class="notification__text">- {{ $t(notificationText) }}+ <div+ class="wrapper px-8 py-2 md:flex md:items-center md:justify-between"+ dir="ltr"+ >+ <p class="text-center md:text-left">+ <slot name="default" /></p>- <div class="notification__actions">- <button- v-if="!!notificationOkay"- class="button is-success small"- @click="notificationAction"- >- {{ $t(notificationOkay) }}- </button>- <button- class="button is-text small dismiss-button"- @click="handleDismissClick"- >- <span v-if="!!notificationDismiss">{{ $t(notificationDismiss) }}</span>- <svg- v-else- viewBox="0 0 30 30"- width="15"- height="15"- xmlns="http://www.w3.org/2000/svg"+ <div class="flex">+ <slot name="buttons">+ <button+ class="button is-text small dismiss-button"+ type="button"+ aria-label="close notification banner"+ @click="handleDismissClick">- <path- d="M18.9094 15L24.7729 9.13652C25.4924 8.41699 25.4924 7.25039 24.7729 6.53027L23.4697 5.22715C22.7502 4.50762 21.5836 4.50762 20.8635 5.22715L15 11.0906L9.13652 5.22715C8.41699 4.50762 7.25039 4.50762 6.53027 5.22715L5.22715 6.53027C4.50762 7.2498 4.50762 8.41641 5.22715 9.13652L11.0906 15L5.22715 20.8635C4.50762 21.583 4.50762 22.7496 5.22715 23.4697L6.53027 24.7729C7.2498 25.4924 8.41699 25.4924 9.13652 24.7729L15 18.9094L20.8635 24.7729C21.583 25.4924 22.7502 25.4924 23.4697 24.7729L24.7729 23.4697C25.4924 22.7502 25.4924 21.5836 24.7729 20.8635L18.9094 15Z"- fill="currentColor"- />- </svg>- </button>+ <CloseIcon aria-hidden="true" />+ </button>+ </slot></div></div></template><script>-import { mapActions, mapMutations, mapState } from 'vuex'-import { SET_SHOW_NOTIFICATION } from '~/constants/mutation-types'-import { NOTIFICATION } from '~/constants/store-modules'-import { NOTIFICATION_ACTION } from '~/constants/action-types'-+import CloseIcon from '~/assets/icons/close.svg?inline'export default {name: 'NotificationBanner',- computed: {- ...mapState(NOTIFICATION, [- 'notificationText',- 'notificationDismiss',- 'notificationOkay',- ]),+ components: {+ CloseIcon,},methods: {- ...mapActions(NOTIFICATION, { notificationAction: NOTIFICATION_ACTION }),- ...mapMutations(NOTIFICATION, {- setShowNotification: SET_SHOW_NOTIFICATION,- }),handleDismissClick() {- this.setShowNotification({- showNotification: false,- })+ this.$emit('close')},},}</script><style scoped lang="scss">-$bgColor: #e6f6eb;-.notification {- &__wrapper {- background-color: $bgColor;- padding: 0.5rem 2rem;- @include tablet {- display: flex;- justify-content: space-between;- align-items: center;- }- }- &__text {- @include mobile {- text-align: center;- }- }- &__actions {- display: flex;- // double selector to increase specificity (to override other issues)- .dismiss-button {- color: $color-dark-success;- padding: $space-small calc(#{$space-normal} + 0.2rem) !important;- white-space: nowrap;- }- @include mobile {- margin-top: $space-small;- justify-content: center;- }-- @include tablet {- padding-left: $space-normal;- }- }-}--.button {- text-transform: none;- font-family: inherit;+// Styles from learn.wordpress.org+$bgColor: #fff8e5;+.wrapper {+ background-color: $bgColor;+ border-left: 4px solid #ffb900;}</style>diff --git a/src/components/TranslationStatusBanner.vue b/src/components/TranslationStatusBanner.vuenew file mode 100644index 000000000..2fbff1b3b--- /dev/null+++ b/src/components/TranslationStatusBanner.vue@@ -0,0 +1,36 @@+<template>+ <NotificationBanner v-show="!shouldHideBanner" @close="dismissBanner">+ {{+ // eslint-disable-next-line @intlify/vue-i18n/no-raw-text+ '⚠️'+ }}+ <i18n path="notification.translation.text">+ <template #link>+ <a :href="translationLink" target="_blank">{{+ $t('notification.translation.link')+ }}</a>+ </template>+ <template #locale>+ {{ bannerLocale.name }}+ </template>+ </i18n>+ </NotificationBanner>+</template>+<script>+import useI18nSync from '~/composables/use-i18n-sync'++export default {+ name: 'TranslationStatusBanner',+ setup() {+ const { shouldHideBanner, bannerLocale, translationLink, dismissBanner } =+ useI18nSync()++ return {+ dismissBanner,+ shouldHideBanner,+ bannerLocale,+ translationLink,+ }+ },+}+</script>diff --git a/src/composables/types.js b/src/composables/types.jsindex cb8ad56e8..15ef6930d 100644--- a/src/composables/types.js+++ b/src/composables/types.js@@ -8,4 +8,9 @@* @typedef {import('@nuxtjs/composition-api').ToRefs<T>} ToRefs*/+/**+ * @template T+ * @typedef {import('@nuxtjs/composition-api').Ref | T} MaybeRef+ */+export default {}diff --git a/src/composables/use-i18n-sync.js b/src/composables/use-i18n-sync.jsnew file mode 100644index 000000000..f7b84aab8--- /dev/null+++ b/src/composables/use-i18n-sync.js@@ -0,0 +1,147 @@+import { sendWindowMessage } from '~/utils/send-message.js'+import config from '../../nuxt.config.js'+import untranslatedLocales from '../locales/scripts/untranslated-locales.json'+import {+ computed,+ onMounted,+ onUnmounted,+ reactive,+ ref,+ useContext,+} from '@nuxtjs/composition-api'+import { StorageSerializers, useStorage } from '~/composables/use-storage'++const BASE_URL = 'https://translate.wordpress.org/projects/meta/openverse/'++export default function useI18nSync() {+ const { i18n } = useContext()++ const currentLocale = computed(() => {+ return i18n.locales.find((item) => item.code === i18n.locale)+ })+ const showBanner = ref(false)+ const bannerLocale = reactive({+ code: i18n.locale,+ name: currentLocale.value.name,+ })++ /**+ * Updates the i18n locale code and sets the html lang and dir attributes.+ *+ * @param {Object} [locale]+ * @param {string} locale.code - the locale code as used in i18n.+ * @param {string} locale.lang - value of the HTML lang property.+ * @param {'rtl'|'ltr'} locale.dir - text direction.+ * @returns {Promise<void>}+ */+ const updateLocale = async (+ locale = {+ code: 'en',+ lang: 'en-US',+ dir: 'ltr',+ }+ ) => {+ await i18n.setLocale(locale.code)+ document.documentElement.lang = locale.lang+ // Always set `dir` property, default to 'ltr'+ document.documentElement.dir = locale.dir+ }+ /**+ * Show banner inviting to contribute translations if fewer than 90%+ * of strings are translated for current locale.+ * Hard-coded to false for default locales: `en` and `en_US`.+ *+ * @param {import('../locales/scripts/types').i18nLocaleProps} locale - current locale object+ * @returns {boolean}+ */+ const needsTranslationBanner = (locale) => {+ if (['en', 'en_US'].includes(locale)) return false++ return locale.translated <= 90+ }++ const bannerDismissedForLocales = useStorage(+ 'openverse-dismissed-banner-locales',+ [],+ {+ serializer: StorageSerializers.object,+ }+ )+ const shouldHideBanner = computed(() => {+ return (+ !showBanner.value ||+ bannerDismissedForLocales.value.includes(bannerLocale.code)+ )+ })+ const dismissBanner = () => {+ bannerDismissedForLocales.value = [+ ...bannerDismissedForLocales.value,+ bannerLocale.code,+ ]+ }+ const translationLink = computed(+ () => `${BASE_URL}${bannerLocale.code}/default/`+ )+ /**+ * Handles messages of type `localeSet` received by the `iframe`. Any+ * other message types will be discarded.+ *+ * It sets the i18n locale property, defaulting to `en` if 0 translations are available for the locale,+ * and shows the translation banner if necessary,+ *+ * @param {string} type - the nature of the message received.+ * @param {Object} value - the data sent with the message.+ * @param {string} value.locale - wpLocale code of the locale, e.g. 'en_US'.+ * @param {string} value.lang - the iso code for language+ * (and sometimes country), e.g. 'en-US'.+ * Default lang value on wp.org is 'en', and on wp.org/openverse - 'en-US'.+ * @param {'rtl'|'ltr'} [value.dir] - the locale text direction.+ */+ const localeMsgHandler = async ({ data: { type, value } }) => {+ if (type !== 'localeSet') return+ // If the locale set by wp.org is 'en_US', not 'en', this is not necessary.+ const wpLocaleValue = value.locale === 'en' ? 'en_US' : value.locale+ let locale = i18n.locales.find((item) => item.wpLocale === wpLocaleValue)+ let htmlLocaleProps+ /**+ * i18n.locales list only contains the locales that have at least one+ * translated string.+ */+ if (locale) {+ htmlLocaleProps = {+ code: locale.code,+ lang: locale.wpLocale.replace('_', '-'),+ dir: locale.dir === 'rtl' ? 'rtl' : 'ltr',+ }+ } else {+ locale = Object.values(untranslatedLocales).find(+ (item) => item.wpLocale === value.locale+ )+ }+ await updateLocale(htmlLocaleProps)++ if (needsTranslationBanner(locale)) {+ showBanner.value = true+ bannerLocale.code = locale.code || null+ bannerLocale.name = locale.name || 'this'+ }+ }++ onMounted(() => {+ window.addEventListener('message', localeMsgHandler)+ sendWindowMessage({+ debug: config.dev,+ type: 'localeGet',+ value: {},+ })+ })+ onUnmounted(() => {+ window.removeEventListener('message', localeMsgHandler)+ })+ return {+ shouldHideBanner,+ dismissBanner,+ bannerLocale,+ translationLink,+ }+}diff --git a/src/composables/use-storage.js b/src/composables/use-storage.jsnew file mode 100644index 000000000..b21c4c534--- /dev/null+++ b/src/composables/use-storage.js@@ -0,0 +1,97 @@+import { ref, unref, watch } from '@nuxtjs/composition-api'+import { useEventListener } from '~/composables/use-event-listener'++const defaultWindow =+ typeof window === 'undefined' || !('localStorage' in window)+ ? undefined+ : window++/** @typedef {{read: (function(string): T), write: (function(T): string)}} Serializer<T> */++export const StorageSerializers = {+ boolean: {+ read: (v) => v === 'true',+ write: (v) => String(v),+ },+ any: {+ read: (v) => v,+ write: (v) => String(v),+ },+ string: {+ read: (v) => v,+ write: (v) => String(v),+ },+ object: {+ read: (v) => JSON.parse(v),+ write: (v) => JSON.stringify(v),+ },+}++/**+ * Reactive LocalStorage.+ *+ * @see https://vueuse.org/useStorage+ * @param {string} key+ * @param {MaybeRef<T>} initialValue+ * @param options+ */+export function useStorage(key, initialValue, options = {}) {+ const {+ listenToStorageChanges = true,+ writeDefaults = true,+ window = defaultWindow,+ storage = defaultWindow?.localStorage,+ onError = (e) => {+ console.error(e)+ },+ } = options++ const rawInit = unref(initialValue)++ const type =+ rawInit == null+ ? 'any'+ : typeof rawInit === 'boolean'+ ? 'boolean'+ : typeof rawInit === 'string'+ ? 'string'+ : 'any'++ const data = ref(initialValue)+ const serializer = options.serializer ?? StorageSerializers[type]++ function read(event) {+ if (!storage || (event && event.key !== key)) return++ try {+ const rawValue = event ? event.newValue : storage.getItem(key)+ if (rawValue == null) {+ data.value = rawInit+ if (writeDefaults && rawInit !== null)+ storage.setItem(key, serializer.write(rawInit))+ } else {+ data.value = serializer.read(rawValue)+ }+ } catch (e) {+ onError(e)+ }+ }++ read()++ if (window && listenToStorageChanges)+ useEventListener(window, 'storage', (e) => setTimeout(() => read(e), 0))++ if (storage) {+ watch(data, () => {+ try {+ if (data.value == null) storage.removeItem(key)+ else storage.setItem(key, serializer.write(data.value))+ } catch (e) {+ onError(e)+ }+ })+ }++ return data+}diff --git a/src/layouts/default.vue b/src/layouts/default.vueindex 6d213583b..bab5ed102 100644--- a/src/layouts/default.vue+++ b/src/layouts/default.vue@@ -1,6 +1,7 @@<template><div class="app"><MigrationNotice v-show="isReferredFromCc" />+ <TranslationStatusBanner /><HeaderSection /><main class="embedded"><Nuxt />@@ -8,21 +9,29 @@</div></template><script>-import { mapState } from 'vuex'-import iframeHeight from '~/mixins/iframe-height'-import i18nSync from '~/mixins/i18n-sync'import { NAV } from '~/constants/store-modules'+import { useContext } from '@nuxtjs/composition-api'+import TranslationStatusBanner from '~/components/TranslationStatusBanner.vue'+const embeddedPage = {name: 'embedded',+ components: { TranslationStatusBanner },layout: 'embedded',- mixins: [iframeHeight, i18nSync],+ mixins: [iframeHeight],head() {return this.$nuxtI18nHead({ addSeoAttributes: true, addDirAttribute: true })},- computed: { ...mapState(NAV, ['isReferredFromCc']) },+ setup() {+ const { store } = useContext()+ const isReferredFromCc = store.state[NAV].isReferredFromCc++ return {+ isReferredFromCc,+ }+ },}export default embeddedPage</script>diff --git a/src/layouts/with-nav-search.vue b/src/layouts/with-nav-search.vueindex 78a4005eb..2c12d5d06 100644--- a/src/layouts/with-nav-search.vue+++ b/src/layouts/with-nav-search.vue@@ -1,6 +1,7 @@<template><div class="app"><MigrationNotice v-show="isReferredFromCc" />+ <TranslationStatusBanner /><HeaderSection :show-nav-search="true" /><main class="embedded"><Nuxt />@@ -8,21 +9,29 @@</div></template><script>-import { mapState } from 'vuex'-import iframeHeight from '~/mixins/iframe-height'-import i18nSync from '~/mixins/i18n-sync'import { NAV } from '~/constants/store-modules'+import TranslationStatusBanner from '~/components/TranslationStatusBanner.vue'+import { useContext } from '@nuxtjs/composition-api'+const embeddedWithNavSearch = {name: 'embedded-with-nav-search',+ components: { TranslationStatusBanner },layout: 'embedded-with-nav-search',- mixins: [iframeHeight, i18nSync],+ mixins: [iframeHeight],head() {return this.$nuxtI18nHead({ addSeoAttributes: true, addDirAttribute: true })},- computed: { ...mapState(NAV, ['isReferredFromCc']) },+ setup() {+ const { store } = useContext()+ const isReferredFromCc = store.state[NAV].isReferredFromCc++ return {+ isReferredFromCc,+ }+ },}export default embeddedWithNavSearch</script>diff --git a/src/locales/en.json b/src/locales/en.jsonindex b617cd1ca..34c05c45e 100644--- a/src/locales/en.json+++ b/src/locales/en.json@@ -29,6 +29,14 @@"prompt": "I would like to find:"}},+ "notification": {+ "translation": {+ "text": "The translation for {locale} locale is incomplete. Help us get to 100 percent by {link}.",+ "link": "contributing a translation"+ },+ "dismiss": "Dismiss",+ "okay": "OK"+ },"header": {"about-nav-item": "Our Story","source-nav-item": "Sources",@@ -47,12 +55,7 @@"licenses-nav-item": "The Licenses","about-tab": "About","resources-tab": "Resources",- "api-nav-item": "API",- "notification": {- "text": "{example_notification_text}",- "dismiss": "Dismiss",- "okay": "OK"- }+ "api-nav-item": "API"},"footer": {"navigation": {diff --git a/src/locales/po-files/openverse.pot b/src/locales/po-files/openverse.potindex 9e0d56ef2..6a555b887 100644--- a/src/locales/po-files/openverse.pot+++ b/src/locales/po-files/openverse.pot@@ -2022,18 +2022,6 @@ msgctxt "header.api-nav-item"msgid "API"msgstr ""-msgctxt "header.notification.text"-msgid "{example_notification_text}"-msgstr ""--msgctxt "header.notification.dismiss"-msgid "Dismiss"-msgstr ""--msgctxt "header.notification.okay"-msgid "OK"-msgstr ""-#: src/components/NavSection.vue:6msgctxt "header.aria.primary"msgid "primary"@@ -2054,6 +2042,25 @@ msgctxt "header.aria.sr-search"msgid "sr search button"msgstr ""+msgctxt "notification.dismiss"+msgid "Dismiss"+msgstr ""++msgctxt "notification.okay"+msgid "OK"+msgstr ""++#. Do not translate words between ### ###.+#: src/layouts/default.vue:10+msgctxt "notification.translation.text"+msgid "The translation for ###locale### locale is incomplete. Help us get to 100 percent by ###link###."+msgstr ""++#: src/layouts/default.vue:13+msgctxt "notification.translation.link"+msgid "contributing a translation"+msgstr ""+msgctxt "hero.brand"msgid "Openverse"msgstr ""diff --git a/src/locales/scripts/create-wp-locale-list.js b/src/locales/scripts/create-wp-locale-list.jsnew file mode 100644index 000000000..341eba862--- /dev/null+++ b/src/locales/scripts/create-wp-locale-list.js@@ -0,0 +1,122 @@+/**+This script extracts data for locales available in GlotPress and translate.wp.org,+ transforms some locale properties to match what Vue i18n expects,+ and saves it to `wp-locales-list.json`.+ **/++const axios = require('axios')+const fs = require('fs')+const { addFetchedTranslationStatus } = require('./get-translations-status.js')++const base_url =+ 'https://raw.githubusercontent.com/GlotPress/GlotPress-WP/develop/locales/locales.php'++/**+ * Fetches the data from GlotPress GitHub.+ * @returns {Promise<any>}+ */+async function getGpLocalesData() {+ const res = await axios.get(base_url)+ return res.data+}++const snakeToCamel = (str) =>+ str+ .toLowerCase()+ .replace(/([-_][a-z])/g, (group) =>+ group.toUpperCase().replace('-', '').replace('_', '')+ )++const createPropertyRePatterns = ({+ properties = [+ 'english_name',+ 'native_name',+ 'lang_code_iso_639_1',+ 'lang_code_iso_639_2',+ 'country_code',+ 'slug',+ 'nplurals',+ 'plural_expression',+ 'google_code',+ 'facebook_locale',+ 'text_direction',+ 'wp_locale',+ ],+} = {}) => {+ const propertyRePatterns = {}+ properties.forEach((prop) => {+ propertyRePatterns[prop] = new RegExp(`${prop} *= *['](.*)['];`)+ })+ return propertyRePatterns+}++function parseLocaleData(rawData) {+ const wpLocalePattern = /wp_locale *= *'(.*)';/+ const propertyRePatterns = createPropertyRePatterns()+ const wpLocaleMatch = rawData.match(wpLocalePattern)+ // ugly check to exclude English from the locales list,+ // so we don't overwrite `en.json` later.+ if (wpLocaleMatch && wpLocaleMatch[1] !== 'en_US') {+ const wpLocale = wpLocaleMatch[1]+ const data = {}+ Object.keys(propertyRePatterns).forEach((key) => {+ const pattern = propertyRePatterns[key]+ const value = rawData.match(pattern)+ if (value) {+ // Convert locale property names to camelCase and replace `english_name` with `name`+ const camelCasedPropName = snakeToCamel(+ key === 'english_name' ? 'name' : key+ )+ data[camelCasedPropName] = value[1]+ }+ })+ return {+ wpLocale: wpLocale,+ data,+ }+ }+}++/**+ * Fetches locale data from the GP GitHub.+ * Extracts properties and converts locale property names to camelCase as expected+ * by Vue i18n.+ * Fetches data from translate.wordpress.org, leaves only the locales available+ * there, and adds `code` and `translated` properties to each locale.+ * @returns {Promise<{}>}+ */+async function getWpLocaleData() {+ const locales = {}++ const data = await getGpLocalesData()+ const rawLocalesData = data+ .split('new GP_Locale();')+ .splice(1)+ .map((item) => item.trim())++ rawLocalesData.forEach((rawData) => {+ const localeData = parseLocaleData(rawData)+ if (localeData) {+ locales[localeData.wpLocale] = localeData.data+ }+ })+ const unsortedLocales = await addFetchedTranslationStatus(locales)+ return Object.keys(unsortedLocales)+ .sort()+ .reduce((accumulator, currentValue) => {+ accumulator[currentValue] = unsortedLocales[currentValue]+ return accumulator+ }, {})+}++getWpLocaleData()+ .then((data) => {+ try {+ const fileName = process.cwd() + '/src/locales/scripts/wp-locales.json'+ fs.writeFileSync(fileName, JSON.stringify(data, null, 2) + '\n')+ console.log(`Successfully wrote locales list file to ${fileName}`)+ } catch (err) {+ console.error(err)+ }+ })+ .catch((err) => console.log('Could not fetch data from ', base_url, err))diff --git a/src/locales/scripts/get-translations-status.js b/src/locales/scripts/get-translations-status.jsnew file mode 100644index 000000000..02416fee4--- /dev/null+++ b/src/locales/scripts/get-translations-status.js@@ -0,0 +1,55 @@+/**+ * Fetch the list of locales that are available on translate.wordpress.org+ * and the translation status for all of them.+ * Update the GP locales object with this data, and removes any of the GP+ * locales that are not available on translate.wordpress.org.+ */+const axios = require('axios')+const parser = require('node-html-parser')++const baseUrl = `https://translate.wordpress.org/projects/meta/openverse`++function parseRow(row, locales) {+ const cells = row.querySelectorAll('td')+ const langLink = cells[0].querySelector('a')+ const langName = langLink.text.trim()+ const langObject = locales.find((locale) => {+ return locale.name === langName+ })+ if (langObject) {+ const percentTranslated = parseInt(+ cells[1].text.trim().replace('%', ''),+ 10+ )+ langObject.code = langObject.slug+ langObject.translated = percentTranslated+ return langObject+ }+}++/**+ * Takes an object with all gpLocales, and filters it to return only the locales+ * available at translate.wordpress.org. Also, adds the `code` (the same as GlotPress+ * `slug`), and `translated` with the percentage of translated strings, to each+ * locale object.+ */+const addFetchedTranslationStatus = async (gpLocales) => {+ const locales = Object.values(gpLocales)++ const localesData = {}+ const raw = await axios.get(baseUrl)++ const parsed = parser.parse(raw.data)+ parsed+ .querySelector('tbody')+ .querySelectorAll('tr')+ .forEach((row) => {+ const locale = parseRow(row, locales)+ if (locale) {+ localesData[locale.wpLocale] = locale+ }+ })+ return localesData+}++module.exports = { addFetchedTranslationStatus }diff --git a/src/locales/scripts/get-translations.js b/src/locales/scripts/get-translations.jsindex d6aec3d3f..17b516cff 100644--- a/src/locales/scripts/get-translations.js+++ b/src/locales/scripts/get-translations.js@@ -6,7 +6,7 @@ const { writeFile } = require('fs/promises')const os = require('os')const axios = require('axios')const ngxJsonToJson = require('./ngx-json-to-json')-const localeJSON = require('./locales-list.json')+const localeJSON = require('./wp-locales.json')/***diff --git a/src/locales/scripts/get-validated-locales.js b/src/locales/scripts/get-validated-locales.jsindex 6b1613710..3d0292cf2 100644--- a/src/locales/scripts/get-validated-locales.js+++ b/src/locales/scripts/get-validated-locales.js@@ -1,29 +1,59 @@+/*+Updates the translation status of locales list from wp-locales-list,+and saves lists of translated and untranslated locales with properties expected+by Vue i18n.+ */const fs = require('fs')-const localesList = require('./locales-list.json')+const localesList = require('./wp-locales.json')+const { addFetchedTranslationStatus } = require('./get-translations-status')-const getValidatedLocales = () => {- return Object.values(localesList)- .map((locale) => ({- code: locale.slug,- name: locale.english_name,- iso: locale.lang_code_iso_639_1,- wpLocale: locale.wp_locale,- dir: locale.text_direction,- file: `${locale.slug}.json`,- }))- .filter((i) => fs.existsSync(process.cwd() + `/src/locales/${i.file}`))+/**+ * Returns a list of locale objects with at least one translated string+ * @returns {{+ * translated: import('./types').i18nLocaleProps[],+ * untranslated: import('./types').i18nLocaleProps[]+ * }}+ */+const getValidatedLocales = async () => {+ const result = {+ translated: [],+ untranslated: [],+ }+ const updatedLocaleList = await addFetchedTranslationStatus(localesList)+ const allLocales = Object.values(updatedLocaleList).map((locale) => ({+ code: locale.slug,+ name: locale.name,+ iso: locale.langCodeIso_639_1,+ wpLocale: locale.wpLocale,+ dir: locale.textDirection || 'ltr',+ translated: locale.translated,+ file: `${locale.slug}.json`,+ }))+ for (const locale of allLocales) {+ const fileLocation = `${process.cwd()}/src/locales/${locale.file}`+ if (fs.existsSync(fileLocation)) {+ result.translated.push(locale)+ } else {+ result.untranslated.push(locale)+ }+ }+ return result}-console.log(process.cwd())-try {- let locales = getValidatedLocales()- const fileName = 'valid-locales.json'- fs.writeFileSync(- process.cwd() + `/src/locales/scripts/` + fileName,- JSON.stringify(locales, null, 2) + '\n'- )- console.log(`> Wrote locale metadata for @nuxt/i18n.`)+ getValidatedLocales().then((locales) => {+ const fileName = 'valid-locales.json'+ fs.writeFileSync(+ process.cwd() + `/src/locales/scripts/` + fileName,+ JSON.stringify(locales.translated, null, 2) + '\n'+ )+ const untranslatedFileName = 'untranslated-locales.json'+ fs.writeFileSync(+ process.cwd() + `/src/locales/scripts/` + untranslatedFileName,+ JSON.stringify(locales.untranslated, null, 2) + '\n'+ )+ console.log(`> Wrote locale metadata for @nuxt/i18n.`)+ })} catch (err) {console.error(err)}diff --git a/src/locales/scripts/locales-list.json b/src/locales/scripts/locales-list.jsonindex ad6c1ad6f..2b1689bdf 100644--- a/src/locales/scripts/locales-list.json+++ b/src/locales/scripts/locales-list.json@@ -1,2058 +1,2391 @@{- "af": {- "english_name": "Afrikaans",- "native_name": "Afrikaans",- "lang_code_iso_639_1": "af",- "lang_code_iso_639_2": "afr",- "country_code": "za",- "slug": "af",- "google_code": "af",- "facebook_locale": "af_ZA",- "wp_locale": "af"+ "es_ES": {+ "name": "Spanish (Spain)",+ "nativeName": "Español",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "es",+ "slug": "es",+ "googleCode": "es",+ "facebookLocale": "es_ES",+ "wpLocale": "es_ES",+ "code": "es",+ "translated": 100},- "am": {- "english_name": "Amharic",- "native_name": "አማርኛ",- "lang_code_iso_639_1": "am",- "lang_code_iso_639_2": "amh",- "country_code": "et",- "slug": "am",- "facebook_locale": "am_ET",- "wp_locale": "am"+ "es_EC": {+ "name": "Spanish (Ecuador)",+ "nativeName": "Español de Ecuador",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "ec",+ "slug": "es-ec",+ "googleCode": "es",+ "facebookLocale": "es_LA",+ "wpLocale": "es_EC",+ "code": "es-ec",+ "translated": 100},- "arg": {- "english_name": "Aragonese",- "native_name": "Aragonés",- "lang_code_iso_639_1": "an",- "lang_code_iso_639_2": "arg",- "country_code": "es",- "slug": "an",- "wp_locale": "arg"+ "es_VE": {+ "name": "Spanish (Venezuela)",+ "nativeName": "Español de Venezuela",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "ve",+ "slug": "es-ve",+ "googleCode": "es",+ "facebookLocale": "es_LA",+ "wpLocale": "es_VE",+ "code": "es-ve",+ "translated": 100},- "ar": {- "english_name": "Arabic",- "native_name": "العربية",- "lang_code_iso_639_1": "ar",- "lang_code_iso_639_2": "ara",- "slug": "ar",- "plural_expression": "(n == 0) ? 0 : ((n == 1) ? 1 : ((n == 2) ? 2 : ((n % 100 >= 3 && n % 100 <= 10) ? 3 : ((n % 100 >= 11 && n % 100 <= 99) ? 4 : 5))))",- "google_code": "ar",- "facebook_locale": "ar_AR",- "text_direction": "rtl",- "wp_locale": "ar"+ "en_GB": {+ "name": "English (UK)",+ "nativeName": "English (UK)",+ "langCodeIso_639_1": "en",+ "langCodeIso_639_2": "eng",+ "countryCode": "gb",+ "slug": "en-gb",+ "googleCode": "en",+ "facebookLocale": "en_GB",+ "wpLocale": "en_GB",+ "code": "en-gb",+ "translated": 100},- "arq": {- "english_name": "Algerian Arabic",- "native_name": "الدارجة الجزايرية",- "lang_code_iso_639_1": "ar",- "country_code": "dz",- "slug": "arq",- "plural_expression": "(n == 0) ? 0 : ((n == 1) ? 1 : ((n == 2) ? 2 : ((n % 100 >= 3 && n % 100 <= 10) ? 3 : ((n % 100 >= 11 && n % 100 <= 99) ? 4 : 5))))",- "text_direction": "rtl",- "wp_locale": "arq"+ "es_CO": {+ "name": "Spanish (Colombia)",+ "nativeName": "Español de Colombia",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "co",+ "slug": "es-co",+ "googleCode": "es",+ "facebookLocale": "es_LA",+ "wpLocale": "es_CO",+ "code": "es-co",+ "translated": 100},- "ary": {- "english_name": "Moroccan Arabic",- "native_name": "العربية المغربية",- "lang_code_iso_639_1": "ar",- "country_code": "ma",- "slug": "ary",- "plural_expression": "(n == 0) ? 0 : ((n == 1) ? 1 : ((n == 2) ? 2 : ((n % 100 >= 3 && n % 100 <= 10) ? 3 : ((n % 100 >= 11 && n % 100 <= 99) ? 4 : 5))))",- "text_direction": "rtl",- "wp_locale": "ary"+ "ro_RO": {+ "name": "Romanian",+ "nativeName": "Română",+ "langCodeIso_639_1": "ro",+ "langCodeIso_639_2": "ron",+ "countryCode": "ro",+ "slug": "ro",+ "pluralExpression": "(n == 1) ? 0 : ((n == 0 || n % 100 >= 2 && n % 100 <= 19) ? 1 : 2)",+ "googleCode": "ro",+ "facebookLocale": "ro_RO",+ "wpLocale": "ro_RO",+ "code": "ro",+ "translated": 100},- "as": {- "english_name": "Assamese",- "native_name": "অসমীয়া",- "lang_code_iso_639_1": "as",- "lang_code_iso_639_2": "asm",- "country_code": "in",- "slug": "as",- "facebook_locale": "as_IN",- "wp_locale": "as"+ "nl_NL": {+ "name": "Dutch",+ "nativeName": "Nederlands",+ "langCodeIso_639_1": "nl",+ "langCodeIso_639_2": "nld",+ "countryCode": "nl",+ "slug": "nl",+ "googleCode": "nl",+ "facebookLocale": "nl_NL",+ "wpLocale": "nl_NL",+ "code": "nl",+ "translated": 99},- "ast": {- "english_name": "Asturian",- "native_name": "Asturianu",- "lang_code_iso_639_2": "ast",- "country_code": "es",- "slug": "ast",- "wp_locale": "ast"+ "cs_CZ": {+ "name": "Czech",+ "nativeName": "Čeština",+ "langCodeIso_639_1": "cs",+ "langCodeIso_639_2": "ces",+ "countryCode": "cz",+ "slug": "cs",+ "pluralExpression": "(n == 1) ? 0 : ((n >= 2 && n <= 4) ? 1 : 2)",+ "googleCode": "cs",+ "facebookLocale": "cs_CZ",+ "wpLocale": "cs_CZ",+ "code": "cs",+ "translated": 99},- "az": {- "english_name": "Azerbaijani",- "native_name": "Azərbaycan dili",- "lang_code_iso_639_1": "az",- "lang_code_iso_639_2": "aze",- "country_code": "az",- "slug": "az",- "google_code": "az",- "facebook_locale": "az_AZ",- "wp_locale": "az"+ "de_DE": {+ "name": "German",+ "nativeName": "Deutsch",+ "langCodeIso_639_1": "de",+ "countryCode": "de",+ "slug": "de",+ "googleCode": "de",+ "facebookLocale": "de_DE",+ "wpLocale": "de_DE",+ "code": "de",+ "translated": 99},- "azb": {- "english_name": "South Azerbaijani",- "native_name": "گؤنئی آذربایجان",- "lang_code_iso_639_1": "az",- "country_code": "ir",- "slug": "azb",- "text_direction": "rtl",- "wp_locale": "azb"+ "sq": {+ "name": "Albanian",+ "nativeName": "Shqip",+ "langCodeIso_639_1": "sq",+ "langCodeIso_639_2": "sqi",+ "countryCode": "al",+ "slug": "sq",+ "googleCode": "sq",+ "facebookLocale": "sq_AL",+ "wpLocale": "sq",+ "code": "sq",+ "translated": 99},- "az_TR": {- "english_name": "Azerbaijani (Turkey)",- "native_name": "Azərbaycan Türkcəsi",- "lang_code_iso_639_1": "az",- "lang_code_iso_639_2": "aze",- "country_code": "tr",- "slug": "az-tr",- "wp_locale": "az_TR"+ "gl_ES": {+ "name": "Galician",+ "nativeName": "Galego",+ "langCodeIso_639_1": "gl",+ "langCodeIso_639_2": "glg",+ "countryCode": "es",+ "slug": "gl",+ "googleCode": "gl",+ "facebookLocale": "gl_ES",+ "wpLocale": "gl_ES",+ "code": "gl",+ "translated": 98},- "ba": {- "english_name": "Bashkir",- "native_name": "башҡорт теле",- "lang_code_iso_639_1": "ba",- "lang_code_iso_639_2": "bak",- "slug": "ba",- "wp_locale": "ba"+ "da_DK": {+ "name": "Danish",+ "nativeName": "Dansk",+ "langCodeIso_639_1": "da",+ "langCodeIso_639_2": "dan",+ "countryCode": "dk",+ "slug": "da",+ "googleCode": "da",+ "facebookLocale": "da_DK",+ "wpLocale": "da_DK",+ "code": "da",+ "translated": 98},- "bal": {- "english_name": "Catalan (Balear)",- "native_name": "Català (Balear)",- "lang_code_iso_639_2": "bal",- "country_code": "es",- "slug": "bal",- "wp_locale": "bal"+ "es_AR": {+ "name": "Spanish (Argentina)",+ "nativeName": "Español de Argentina",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "ar",+ "slug": "es-ar",+ "googleCode": "es",+ "facebookLocale": "es_LA",+ "wpLocale": "es_AR",+ "code": "es-ar",+ "translated": 95},- "bcc": {- "english_name": "Balochi Southern",- "native_name": "بلوچی مکرانی",- "country_code": "pk",- "slug": "bcc",- "plural_expression": "0",- "text_direction": "rtl",- "wp_locale": "bcc"+ "en_CA": {+ "name": "English (Canada)",+ "nativeName": "English (Canada)",+ "langCodeIso_639_1": "en",+ "langCodeIso_639_2": "eng",+ "countryCode": "ca",+ "slug": "en-ca",+ "googleCode": "en",+ "wpLocale": "en_CA",+ "code": "en-ca",+ "translated": 95},- "bel": {- "english_name": "Belarusian",- "native_name": "Беларуская мова",- "lang_code_iso_639_1": "be",- "lang_code_iso_639_2": "bel",- "country_code": "by",- "slug": "bel",- "plural_expression": "(n % 10 == 1 && n % 100 != 11) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",- "google_code": "be",- "facebook_locale": "be_BY",- "wp_locale": "bel"+ "en_ZA": {+ "name": "English (South Africa)",+ "nativeName": "English (South Africa)",+ "langCodeIso_639_1": "en",+ "langCodeIso_639_2": "eng",+ "countryCode": "za",+ "slug": "en-za",+ "googleCode": "en",+ "wpLocale": "en_ZA",+ "code": "en-za",+ "translated": 95},- "bg_BG": {- "english_name": "Bulgarian",- "native_name": "Български",- "lang_code_iso_639_1": "bg",- "lang_code_iso_639_2": "bul",- "country_code": "bg",- "slug": "bg",- "google_code": "bg",- "facebook_locale": "bg_BG",- "wp_locale": "bg_BG"- },- "bgn": {- "english_name": "Western Balochi",- "native_name": "بلوچی",- "country_code": "pk",- "slug": "bgn",- "text_direction": "rtl",- "wp_locale": "bgn"+ "es_DO": {+ "name": "Spanish (Dominican Republic)",+ "nativeName": "Español de República Dominicana",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "do",+ "slug": "es-do",+ "googleCode": "es",+ "facebookLocale": "es_LA",+ "wpLocale": "es_DO",+ "code": "es-do",+ "translated": 95},- "bho": {- "english_name": "Bhojpuri",- "native_name": "भोजपुरी",- "country_code": "in",- "slug": "bho",- "wp_locale": "bho"+ "fr_FR": {+ "name": "French (France)",+ "nativeName": "Français",+ "langCodeIso_639_1": "fr",+ "countryCode": "fr",+ "slug": "fr",+ "pluralExpression": "n > 1",+ "googleCode": "fr",+ "facebookLocale": "fr_FR",+ "wpLocale": "fr_FR",+ "code": "fr",+ "translated": 90},- "bn_BD": {- "english_name": "Bengali (Bangladesh)",- "native_name": "বাংলা",- "lang_code_iso_639_1": "bn",- "country_code": "bd",- "slug": "bn",- "google_code": "bn",- "wp_locale": "bn_BD"+ "sv_SE": {+ "name": "Swedish",+ "nativeName": "Svenska",+ "langCodeIso_639_1": "sv",+ "langCodeIso_639_2": "swe",+ "countryCode": "se",+ "slug": "sv",+ "googleCode": "sv",+ "facebookLocale": "sv_SE",+ "wpLocale": "sv_SE",+ "code": "sv",+ "translated": 71},- "bn_IN": {- "english_name": "Bengali (India)",- "native_name": "বাংলা (ভারত)",- "lang_code_iso_639_1": "bn",- "country_code": "in",- "slug": "bn-in",- "plural_expression": "n > 1",- "google_code": "bn",- "facebook_locale": "bn_IN",- "wp_locale": "bn_IN"+ "zh_CN": {+ "name": "Chinese (China)",+ "nativeName": "简体中文",+ "langCodeIso_639_1": "zh",+ "langCodeIso_639_2": "zho",+ "countryCode": "cn",+ "slug": "zh-cn",+ "pluralExpression": "0",+ "googleCode": "zh-CN",+ "facebookLocale": "zh_CN",+ "wpLocale": "zh_CN",+ "code": "zh-cn",+ "translated": 61},- "bo": {- "english_name": "Tibetan",- "native_name": "བོད་ཡིག",- "lang_code_iso_639_1": "bo",- "lang_code_iso_639_2": "tib",- "slug": "bo",- "plural_expression": "0",- "wp_locale": "bo"+ "id_ID": {+ "name": "Indonesian",+ "nativeName": "Bahasa Indonesia",+ "langCodeIso_639_1": "id",+ "langCodeIso_639_2": "ind",+ "countryCode": "id",+ "slug": "id",+ "pluralExpression": "n > 1",+ "googleCode": "id",+ "facebookLocale": "id_ID",+ "wpLocale": "id_ID",+ "code": "id",+ "translated": 57},- "bre": {- "english_name": "Breton",- "native_name": "Brezhoneg",- "lang_code_iso_639_1": "br",- "lang_code_iso_639_2": "bre",- "country_code": "fr",- "slug": "br",- "plural_expression": "n > 1",- "facebook_locale": "br_FR",- "wp_locale": "bre"+ "pt_BR": {+ "name": "Portuguese (Brazil)",+ "nativeName": "Português do Brasil",+ "langCodeIso_639_1": "pt",+ "langCodeIso_639_2": "por",+ "countryCode": "br",+ "slug": "pt-br",+ "pluralExpression": "n > 1",+ "googleCode": "pt-BR",+ "facebookLocale": "pt_BR",+ "wpLocale": "pt_BR",+ "code": "pt-br",+ "translated": 54},- "brx": {- "english_name": "Bodo",- "native_name": "बोडो",- "country_code": "in",- "slug": "brx",- "wp_locale": "brx"+ "ru_RU": {+ "name": "Russian",+ "nativeName": "Русский",+ "langCodeIso_639_1": "ru",+ "langCodeIso_639_2": "rus",+ "countryCode": "ru",+ "slug": "ru",+ "pluralExpression": "(n % 10 == 1 && n % 100 != 11) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",+ "googleCode": "ru",+ "facebookLocale": "ru_RU",+ "wpLocale": "ru_RU",+ "code": "ru",+ "translated": 52},- "bs_BA": {- "english_name": "Bosnian",- "native_name": "Bosanski",- "lang_code_iso_639_1": "bs",- "lang_code_iso_639_2": "bos",- "country_code": "ba",- "slug": "bs",- "plural_expression": "(n % 10 == 1 && n % 100 != 11) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",- "google_code": "bs",- "facebook_locale": "bs_BA",- "wp_locale": "bs_BA"+ "ja": {+ "name": "Japanese",+ "nativeName": "日本語",+ "langCodeIso_639_1": "ja",+ "countryCode": "jp",+ "slug": "ja",+ "pluralExpression": "0",+ "googleCode": "ja",+ "facebookLocale": "ja_JP",+ "wpLocale": "ja",+ "code": "ja",+ "translated": 32},- "ca": {- "english_name": "Catalan",- "native_name": "Català",- "lang_code_iso_639_1": "ca",- "lang_code_iso_639_2": "cat",- "slug": "ca",- "google_code": "ca",- "facebook_locale": "ca_ES",- "wp_locale": "ca"+ "zh_TW": {+ "name": "Chinese (Taiwan)",+ "nativeName": "繁體中文",+ "langCodeIso_639_1": "zh",+ "langCodeIso_639_2": "zho",+ "countryCode": "tw",+ "slug": "zh-tw",+ "pluralExpression": "0",+ "googleCode": "zh-TW",+ "facebookLocale": "zh_TW",+ "wpLocale": "zh_TW",+ "code": "zh-tw",+ "translated": 30},- "ceb": {- "english_name": "Cebuano",- "native_name": "Cebuano",- "lang_code_iso_639_2": "ceb",- "country_code": "ph",- "slug": "ceb",- "facebook_locale": "cx_PH",- "wp_locale": "ceb"+ "es_MX": {+ "name": "Spanish (Mexico)",+ "nativeName": "Español de México",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "mx",+ "slug": "es-mx",+ "googleCode": "es",+ "facebookLocale": "es_MX",+ "wpLocale": "es_MX",+ "code": "es-mx",+ "translated": 20},- "ckb": {- "english_name": "Kurdish (Sorani)",- "native_name": "كوردی",- "lang_code_iso_639_1": "ku",- "country_code": "iq",- "slug": "ckb",- "facebook_locale": "cb_IQ",- "text_direction": "rtl",- "wp_locale": "ckb"+ "nl_BE": {+ "name": "Dutch (Belgium)",+ "nativeName": "Nederlands (België)",+ "langCodeIso_639_1": "nl",+ "langCodeIso_639_2": "nld",+ "countryCode": "be",+ "slug": "nl-be",+ "googleCode": "nl",+ "wpLocale": "nl_BE",+ "code": "nl-be",+ "translated": 15},- "co": {- "english_name": "Corsican",- "native_name": "Corsu",- "lang_code_iso_639_1": "co",- "lang_code_iso_639_2": "cos",- "country_code": "it",- "slug": "co",- "wp_locale": "co"+ "kn": {+ "name": "Kannada",+ "nativeName": "ಕನ್ನಡ",+ "langCodeIso_639_1": "kn",+ "langCodeIso_639_2": "kan",+ "countryCode": "in",+ "slug": "kn",+ "googleCode": "kn",+ "facebookLocale": "kn_IN",+ "wpLocale": "kn",+ "code": "kn",+ "translated": 9},- "cor": {- "english_name": "Cornish",- "native_name": "Kernewek",- "lang_code_iso_639_1": "kw",- "lang_code_iso_639_2": "cor",- "country_code": "gb",- "slug": "cor",- "plural_expression": "(n == 0) ? 0 : ((n == 1) ? 1 : (((n % 100 == 2 || n % 100 == 22 || n % 100 == 42 || n % 100 == 62 || n % 100 == 82) || n % 1000 == 0 && (n % 100000 >= 1000 && n % 100000 <= 20000 || n % 100000 == 40000 || n % 100000 == 60000 || n % 100000 == 80000) || n != 0 && n % 1000000 == 100000) ? 2 : ((n % 100 == 3 || n % 100 == 23 || n % 100 == 43 || n % 100 == 63 || n % 100 == 83) ? 3 : ((n != 1 && (n % 100 == 1 || n % 100 == 21 || n % 100 == 41 || n % 100 == 61 || n % 100 == 81)) ? 4 : 5))))",- "wp_locale": "cor"+ "it_IT": {+ "name": "Italian",+ "nativeName": "Italiano",+ "langCodeIso_639_1": "it",+ "langCodeIso_639_2": "ita",+ "countryCode": "it",+ "slug": "it",+ "googleCode": "it",+ "facebookLocale": "it_IT",+ "wpLocale": "it_IT",+ "code": "it",+ "translated": 6},- "cs_CZ": {- "english_name": "Czech",- "native_name": "Čeština",- "lang_code_iso_639_1": "cs",- "lang_code_iso_639_2": "ces",- "country_code": "cz",- "slug": "cs",- "plural_expression": "(n == 1) ? 0 : ((n >= 2 && n <= 4) ? 1 : 2)",- "google_code": "cs",- "facebook_locale": "cs_CZ",- "wp_locale": "cs_CZ"+ "ar": {+ "name": "Arabic",+ "nativeName": "العربية",+ "langCodeIso_639_1": "ar",+ "langCodeIso_639_2": "ara",+ "slug": "ar",+ "pluralExpression": "(n == 0) ? 0 : ((n == 1) ? 1 : ((n == 2) ? 2 : ((n % 100 >= 3 && n % 100 <= 10) ? 3 : ((n % 100 >= 11 && n % 100 <= 99) ? 4 : 5))))",+ "googleCode": "ar",+ "facebookLocale": "ar_AR",+ "textDirection": "rtl",+ "wpLocale": "ar",+ "code": "ar",+ "translated": 2},- "cy": {- "english_name": "Welsh",- "native_name": "Cymraeg",- "lang_code_iso_639_1": "cy",- "lang_code_iso_639_2": "cym",- "country_code": "gb",- "slug": "cy",- "plural_expression": "(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3",- "google_code": "cy",- "facebook_locale": "cy_GB",- "wp_locale": "cy"+ "en_AU": {+ "name": "English (Australia)",+ "nativeName": "English (Australia)",+ "langCodeIso_639_1": "en",+ "langCodeIso_639_2": "eng",+ "countryCode": "au",+ "slug": "en-au",+ "googleCode": "en",+ "wpLocale": "en_AU",+ "code": "en-au",+ "translated": 2},- "da_DK": {- "english_name": "Danish",- "native_name": "Dansk",- "lang_code_iso_639_1": "da",- "lang_code_iso_639_2": "dan",- "country_code": "dk",- "slug": "da",- "google_code": "da",- "facebook_locale": "da_DK",- "wp_locale": "da_DK"+ "pt_PT": {+ "name": "Portuguese (Portugal)",+ "nativeName": "Português",+ "langCodeIso_639_1": "pt",+ "countryCode": "pt",+ "slug": "pt",+ "googleCode": "pt-PT",+ "facebookLocale": "pt_PT",+ "wpLocale": "pt_PT",+ "code": "pt",+ "translated": 1},- "de_DE": {- "english_name": "German",- "native_name": "Deutsch",- "lang_code_iso_639_1": "de",- "country_code": "de",- "slug": "de",- "google_code": "de",- "facebook_locale": "de_DE",- "wp_locale": "de_DE"+ "skr": {+ "name": "Saraiki",+ "nativeName": "سرائیکی",+ "countryCode": "pk",+ "slug": "skr",+ "pluralExpression": "n > 1",+ "textDirection": "rtl",+ "wpLocale": "skr",+ "code": "skr",+ "translated": 0},- "de_AT": {- "english_name": "German (Austria)",- "native_name": "Deutsch (Österreich)",- "lang_code_iso_639_1": "de",- "country_code": "de",- "slug": "de-at",- "google_code": "de",- "wp_locale": "de_AT"+ "srd": {+ "name": "Sardinian",+ "nativeName": "Sardu",+ "langCodeIso_639_1": "sc",+ "langCodeIso_639_2": "srd",+ "countryCode": "it",+ "slug": "srd",+ "facebookLocale": "sc_IT",+ "wpLocale": "srd",+ "code": "srd",+ "translated": 0},- "de_CH": {- "english_name": "German (Switzerland)",- "native_name": "Deutsch (Schweiz)",- "lang_code_iso_639_1": "de",- "country_code": "ch",- "slug": "de-ch",- "google_code": "de",- "wp_locale": "de_CH"+ "gd": {+ "name": "Scottish Gaelic",+ "nativeName": "Gàidhlig",+ "langCodeIso_639_1": "gd",+ "langCodeIso_639_2": "gla",+ "countryCode": "gb",+ "slug": "gd",+ "pluralExpression": "(n == 1 || n == 11) ? 0 : ((n == 2 || n == 12) ? 1 : ((n >= 3 && n <= 10 || n >= 13 && n <= 19) ? 2 : 3))",+ "googleCode": "gd",+ "wpLocale": "gd",+ "code": "gd",+ "translated": 0},- "dsb": {- "english_name": "Lower Sorbian",- "native_name": "Dolnoserbšćina",- "lang_code_iso_639_2": "dsb",- "country_code": "de",- "slug": "dsb",- "plural_expression": "(n % 100 == 1) ? 0 : ((n % 100 == 2) ? 1 : ((n % 100 == 3 || n % 100 == 4) ? 2 : 3))",- "wp_locale": "dsb"+ "nb_NO": {+ "name": "Norwegian (Bokmål)",+ "nativeName": "Norsk bokmål",+ "langCodeIso_639_1": "nb",+ "langCodeIso_639_2": "nob",+ "countryCode": "no",+ "slug": "nb",+ "googleCode": "no",+ "facebookLocale": "nb_NO",+ "wpLocale": "nb_NO",+ "code": "nb",+ "translated": 0},- "dv": {- "english_name": "Dhivehi",- "native_name": "ދިވެހި",- "lang_code_iso_639_1": "dv",- "lang_code_iso_639_2": "div",- "country_code": "mv",- "slug": "dv",- "text_direction": "rtl",- "wp_locale": "dv"+ "scn": {+ "name": "Sicilian",+ "nativeName": "Sicilianu",+ "countryCode": "it",+ "slug": "scn",+ "wpLocale": "scn",+ "code": "scn",+ "translated": 0},- "dzo": {- "english_name": "Dzongkha",- "native_name": "རྫོང་ཁ",- "lang_code_iso_639_1": "dz",- "lang_code_iso_639_2": "dzo",- "country_code": "bt",- "slug": "dzo",- "plural_expression": "0",- "wp_locale": "dzo"- },- "ewe": {- "english_name": "Ewe",- "native_name": "Eʋegbe",- "lang_code_iso_639_1": "ee",- "lang_code_iso_639_2": "ewe",- "country_code": "gh",- "slug": "ee",- "wp_locale": "ewe"+ "pcm": {+ "name": "Nigerian Pidgin",+ "nativeName": "Nigerian Pidgin",+ "countryCode": "ng",+ "slug": "pcm",+ "wpLocale": "pcm",+ "code": "pcm",+ "translated": 0},- "el": {- "english_name": "Greek",- "native_name": "Ελληνικά",- "lang_code_iso_639_1": "el",- "lang_code_iso_639_2": "ell",- "country_code": "gr",- "slug": "el",- "google_code": "el",- "facebook_locale": "el_GR",- "wp_locale": "el"+ "sr_RS": {+ "name": "Serbian",+ "nativeName": "Српски језик",+ "langCodeIso_639_1": "sr",+ "langCodeIso_639_2": "srp",+ "countryCode": "rs",+ "slug": "sr",+ "pluralExpression": "(n % 10 == 1 && n % 100 != 11) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",+ "googleCode": "sr",+ "facebookLocale": "sr_RS",+ "wpLocale": "sr_RS",+ "code": "sr",+ "translated": 0},- "art_xemoji": {- "english_name": "Emoji",- "lang_code_iso_639_2": "art",- "slug": "art-xemoji",- "plural_expression": "0",- "wp_locale": "art_xemoji"+ "ne_NP": {+ "name": "Nepali",+ "nativeName": "नेपाली",+ "langCodeIso_639_1": "ne",+ "langCodeIso_639_2": "nep",+ "countryCode": "np",+ "slug": "ne",+ "googleCode": "ne",+ "facebookLocale": "ne_NP",+ "wpLocale": "ne_NP",+ "code": "ne",+ "translated": 0},- "en_AU": {- "english_name": "English (Australia)",- "native_name": "English (Australia)",- "lang_code_iso_639_1": "en",- "lang_code_iso_639_2": "eng",- "country_code": "au",- "slug": "en-au",- "google_code": "en",- "wp_locale": "en_AU"+ "nn_NO": {+ "name": "Norwegian (Nynorsk)",+ "nativeName": "Norsk nynorsk",+ "langCodeIso_639_1": "nn",+ "langCodeIso_639_2": "nno",+ "countryCode": "no",+ "slug": "nn",+ "googleCode": "no",+ "facebookLocale": "nn_NO",+ "wpLocale": "nn_NO",+ "code": "nn",+ "translated": 0},- "en_CA": {- "english_name": "English (Canada)",- "native_name": "English (Canada)",- "lang_code_iso_639_1": "en",- "lang_code_iso_639_2": "eng",- "country_code": "ca",- "slug": "en-ca",- "google_code": "en",- "wp_locale": "en_CA"+ "szl": {+ "name": "Silesian",+ "nativeName": "Ślōnskŏ gŏdka",+ "countryCode": "pl",+ "slug": "szl",+ "pluralExpression": "(n==1 ? 0 : n%10>=2 && n%10<=4 && n%100==20 ? 1 : 2)",+ "facebookLocale": "sz_PL",+ "wpLocale": "szl",+ "code": "szl",+ "translated": 0},- "en_GB": {- "english_name": "English (UK)",- "native_name": "English (UK)",- "lang_code_iso_639_1": "en",- "lang_code_iso_639_2": "eng",- "country_code": "gb",- "slug": "en-gb",- "google_code": "en",- "facebook_locale": "en_GB",- "wp_locale": "en_GB"+ "sq_XK": {+ "name": "Shqip (Kosovo)",+ "nativeName": "Për Kosovën Shqip",+ "langCodeIso_639_1": "sq",+ "countryCode": "xk",+ "slug": "sq-xk",+ "wpLocale": "sq_XK",+ "code": "sq-xk",+ "translated": 0},- "en_NZ": {- "english_name": "English (New Zealand)",- "native_name": "English (New Zealand)",- "lang_code_iso_639_1": "en",- "lang_code_iso_639_2": "eng",- "country_code": "nz",- "slug": "en-nz",- "google_code": "en",- "wp_locale": "en_NZ"+ "nqo": {+ "name": "N’ko",+ "nativeName": "ߒߞߏ",+ "langCodeIso_639_2": "nqo",+ "countryCode": "gn",+ "slug": "nqo",+ "textDirection": "rtl",+ "wpLocale": "nqo",+ "code": "nqo",+ "translated": 0},- "en_ZA": {- "english_name": "English (South Africa)",- "native_name": "English (South Africa)",- "lang_code_iso_639_1": "en",- "lang_code_iso_639_2": "eng",- "country_code": "za",- "slug": "en-za",- "google_code": "en",- "wp_locale": "en_ZA"+ "my_MM": {+ "name": "Myanmar (Burmese)",+ "nativeName": "ဗမာစာ",+ "langCodeIso_639_1": "my",+ "langCodeIso_639_2": "mya",+ "countryCode": "mm",+ "slug": "mya",+ "googleCode": "my",+ "wpLocale": "my_MM",+ "code": "mya",+ "translated": 0},- "eo": {- "english_name": "Esperanto",- "native_name": "Esperanto",- "lang_code_iso_639_1": "eo",- "lang_code_iso_639_2": "epo",- "slug": "eo",- "google_code": "eo",- "facebook_locale": "eo_EO",- "wp_locale": "eo"+ "sna": {+ "name": "Shona",+ "nativeName": "ChiShona",+ "langCodeIso_639_1": "sn",+ "countryCode": "zw",+ "slug": "sna",+ "wpLocale": "sna",+ "code": "sna",+ "translated": 0},- "es_ES": {- "english_name": "Spanish (Spain)",- "native_name": "Español",- "lang_code_iso_639_1": "es",- "lang_code_iso_639_2": "spa",- "country_code": "es",- "slug": "es",- "google_code": "es",- "facebook_locale": "es_ES",- "wp_locale": "es_ES"+ "pcd": {+ "name": "Picard",+ "nativeName": "Ch’ti",+ "countryCode": "fr",+ "slug": "pcd",+ "pluralExpression": "n > 1",+ "wpLocale": "pcd",+ "code": "pcd",+ "translated": 0},- "es_AR": {- "english_name": "Spanish (Argentina)",- "native_name": "Español de Argentina",- "lang_code_iso_639_1": "es",- "lang_code_iso_639_2": "spa",- "country_code": "ar",- "slug": "es-ar",- "google_code": "es",- "facebook_locale": "es_LA",- "wp_locale": "es_AR"+ "oci": {+ "name": "Occitan",+ "nativeName": "Occitan",+ "langCodeIso_639_1": "oc",+ "langCodeIso_639_2": "oci",+ "countryCode": "fr",+ "slug": "oci",+ "pluralExpression": "n > 1",+ "wpLocale": "oci",+ "code": "oci",+ "translated": 0},- "es_CL": {- "english_name": "Spanish (Chile)",- "native_name": "Español de Chile",- "lang_code_iso_639_1": "es",- "lang_code_iso_639_2": "spa",- "country_code": "cl",- "slug": "es-cl",- "google_code": "es",- "facebook_locale": "es_LA",- "wp_locale": "es_CL"+ "si_LK": {+ "name": "Sinhala",+ "nativeName": "සිංහල",+ "langCodeIso_639_1": "si",+ "langCodeIso_639_2": "sin",+ "countryCode": "lk",+ "slug": "si",+ "googleCode": "si",+ "facebookLocale": "si_LK",+ "wpLocale": "si_LK",+ "code": "si",+ "translated": 0},- "es_CO": {- "english_name": "Spanish (Colombia)",- "native_name": "Español de Colombia",- "lang_code_iso_639_1": "es",- "lang_code_iso_639_2": "spa",- "country_code": "co",- "slug": "es-co",- "google_code": "es",- "facebook_locale": "es_LA",- "wp_locale": "es_CO"+ "pl_PL": {+ "name": "Polish",+ "nativeName": "Polski",+ "langCodeIso_639_1": "pl",+ "langCodeIso_639_2": "pol",+ "countryCode": "pl",+ "slug": "pl",+ "pluralExpression": "(n == 1) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",+ "googleCode": "pl",+ "facebookLocale": "pl_PL",+ "wpLocale": "pl_PL",+ "code": "pl",+ "translated": 0},- "es_CR": {- "english_name": "Spanish (Costa Rica)",- "native_name": "Español de Costa Rica",- "lang_code_iso_639_1": "es",- "lang_code_iso_639_2": "spa",- "country_code": "cr",- "slug": "es-cr",- "google_code": "es",- "facebook_locale": "es_LA",- "wp_locale": "es_CR"+ "pt_AO": {+ "name": "Portuguese (Angola)",+ "nativeName": "Português de Angola",+ "langCodeIso_639_1": "pt",+ "countryCode": "ao",+ "slug": "pt-ao",+ "wpLocale": "pt_AO",+ "code": "pt-ao",+ "translated": 0},- "es_DO": {- "english_name": "Spanish (Dominican Republic)",- "native_name": "Español de República Dominicana",- "lang_code_iso_639_1": "es",- "lang_code_iso_639_2": "spa",- "country_code": "do",- "slug": "es-do",- "google_code": "es",- "facebook_locale": "es_LA",- "wp_locale": "es_DO"+ "rhg": {+ "name": "Rohingya",+ "nativeName": "Ruáinga",+ "countryCode": "mm",+ "slug": "rhg",+ "pluralExpression": "0",+ "wpLocale": "rhg",+ "code": "rhg",+ "translated": 0},- "es_EC": {- "english_name": "Spanish (Ecuador)",- "native_name": "Español de Ecuador",- "lang_code_iso_639_1": "es",- "lang_code_iso_639_2": "spa",- "country_code": "ec",- "slug": "es-ec",- "google_code": "es",- "facebook_locale": "es_LA",- "wp_locale": "es_EC"+ "fa_AF": {+ "name": "Persian (Afghanistan)",+ "nativeName": "(فارسی (افغانستان",+ "langCodeIso_639_1": "fa",+ "langCodeIso_639_2": "fas",+ "slug": "fa-af",+ "pluralExpression": "n > 1",+ "googleCode": "fa",+ "textDirection": "rtl",+ "wpLocale": "fa_AF",+ "code": "fa-af",+ "translated": 0},- "es_GT": {- "english_name": "Spanish (Guatemala)",- "native_name": "Español de Guatemala",- "lang_code_iso_639_1": "es",- "lang_code_iso_639_2": "spa",- "country_code": "gt",- "slug": "es-gt",- "google_code": "es",- "facebook_locale": "es_LA",- "wp_locale": "es_GT"+ "roh": {+ "name": "Romansh",+ "nativeName": "Rumantsch",+ "langCodeIso_639_1": "rm",+ "langCodeIso_639_2": "roh",+ "countryCode": "ch",+ "slug": "roh",+ "wpLocale": "roh",+ "code": "roh",+ "translated": 0},- "es_HN": {- "english_name": "Spanish (Honduras)",- "native_name": "Español de Honduras",- "lang_code_iso_639_1": "es",- "lang_code_iso_639_2": "spa",- "country_code": "hn",- "slug": "es-hn",- "google_code": "es",- "facebook_locale": "es_LA",- "wp_locale": "es_HN"+ "sah": {+ "name": "Sakha",+ "nativeName": "Сахалыы",+ "langCodeIso_639_2": "sah",+ "countryCode": "ru",+ "slug": "sah",+ "wpLocale": "sah",+ "code": "sah",+ "translated": 0},- "es_MX": {- "english_name": "Spanish (Mexico)",- "native_name": "Español de México",- "lang_code_iso_639_1": "es",- "lang_code_iso_639_2": "spa",- "country_code": "mx",- "slug": "es-mx",- "google_code": "es",- "facebook_locale": "es_MX",- "wp_locale": "es_MX"+ "ory": {+ "name": "Oriya",+ "nativeName": "ଓଡ଼ିଆ",+ "langCodeIso_639_1": "or",+ "langCodeIso_639_2": "ory",+ "countryCode": "in",+ "slug": "ory",+ "facebookLocale": "or_IN",+ "wpLocale": "ory",+ "code": "ory",+ "translated": 0},- "es_PE": {- "english_name": "Spanish (Peru)",- "native_name": "Español de Perú",- "lang_code_iso_639_1": "es",- "lang_code_iso_639_2": "spa",- "country_code": "pe",- "slug": "es-pe",- "google_code": "es",- "facebook_locale": "es_LA",- "wp_locale": "es_PE"+ "fa_IR": {+ "name": "Persian",+ "nativeName": "فارسی",+ "langCodeIso_639_1": "fa",+ "langCodeIso_639_2": "fas",+ "slug": "fa",+ "pluralExpression": "n > 1",+ "googleCode": "fa",+ "facebookLocale": "fa_IR",+ "textDirection": "rtl",+ "wpLocale": "fa_IR",+ "code": "fa",+ "translated": 0},- "es_PR": {- "english_name": "Spanish (Puerto Rico)",- "native_name": "Español de Puerto Rico",- "lang_code_iso_639_1": "es",- "lang_code_iso_639_2": "spa",- "country_code": "pr",- "slug": "es-pr",- "google_code": "es",- "facebook_locale": "es_LA",- "wp_locale": "es_PR"+ "ps": {+ "name": "Pashto",+ "nativeName": "پښتو",+ "langCodeIso_639_1": "ps",+ "langCodeIso_639_2": "pus",+ "countryCode": "af",+ "slug": "ps",+ "facebookLocale": "ps_AF",+ "textDirection": "rtl",+ "wpLocale": "ps",+ "code": "ps",+ "translated": 0},- "es_UY": {- "english_name": "Spanish (Uruguay)",- "native_name": "Español de Uruguay",- "lang_code_iso_639_1": "es",- "lang_code_iso_639_2": "spa",- "country_code": "uy",- "slug": "es-uy",- "google_code": "es",- "facebook_locale": "es_LA",- "wp_locale": "es_UY"+ "pap_AW": {+ "name": "Papiamento (Aruba)",+ "nativeName": "Papiamento",+ "langCodeIso_639_2": "pap",+ "countryCode": "aw",+ "slug": "pap-aw",+ "wpLocale": "pap_AW",+ "code": "pap-aw",+ "translated": 0},- "es_VE": {- "english_name": "Spanish (Venezuela)",- "native_name": "Español de Venezuela",- "lang_code_iso_639_1": "es",- "lang_code_iso_639_2": "spa",- "country_code": "ve",- "slug": "es-ve",- "google_code": "es",- "facebook_locale": "es_LA",- "wp_locale": "es_VE"+ "pap_CW": {+ "name": "Papiamento (Curaçao and Bonaire)",+ "nativeName": "Papiamentu",+ "langCodeIso_639_2": "pap",+ "countryCode": "cw",+ "slug": "pap-cw",+ "wpLocale": "pap_CW",+ "code": "pap-cw",+ "translated": 0},- "et": {- "english_name": "Estonian",- "native_name": "Eesti",- "lang_code_iso_639_1": "et",- "lang_code_iso_639_2": "est",- "country_code": "ee",- "slug": "et",- "google_code": "et",- "facebook_locale": "et_EE",- "wp_locale": "et"+ "art_xpirate": {+ "name": "English (Pirate)",+ "nativeName": "English (Pirate)",+ "langCodeIso_639_2": "art",+ "slug": "pirate",+ "googleCode": "xx-pirate",+ "facebookLocale": "en_PI",+ "wpLocale": "art_xpirate",+ "code": "pirate",+ "translated": 0},- "eu": {- "english_name": "Basque",- "native_name": "Euskara",- "lang_code_iso_639_1": "eu",- "lang_code_iso_639_2": "eus",- "country_code": "es",- "slug": "eu",- "google_code": "eu",- "facebook_locale": "eu_ES",- "wp_locale": "eu"+ "os": {+ "name": "Ossetic",+ "nativeName": "Ирон",+ "langCodeIso_639_1": "os",+ "langCodeIso_639_2": "oss",+ "slug": "os",+ "wpLocale": "os",+ "code": "os",+ "translated": 0},- "fa_IR": {- "english_name": "Persian",- "native_name": "فارسی",- "lang_code_iso_639_1": "fa",- "lang_code_iso_639_2": "fas",- "slug": "fa",- "plural_expression": "n > 1",- "google_code": "fa",- "facebook_locale": "fa_IR",- "text_direction": "rtl",- "wp_locale": "fa_IR"+ "sa_IN": {+ "name": "Sanskrit",+ "nativeName": "भारतम्",+ "langCodeIso_639_1": "sa",+ "langCodeIso_639_2": "san",+ "countryCode": "in",+ "slug": "sa-in",+ "facebookLocale": "sa_IN",+ "wpLocale": "sa_IN",+ "code": "sa-in",+ "translated": 0},- "fa_AF": {- "english_name": "Persian (Afghanistan)",- "native_name": "(فارسی (افغانستان",- "lang_code_iso_639_1": "fa",- "lang_code_iso_639_2": "fas",- "slug": "fa-af",- "plural_expression": "n > 1",- "google_code": "fa",- "text_direction": "rtl",- "wp_locale": "fa_AF"+ "snd": {+ "name": "Sindhi",+ "nativeName": "سنڌي",+ "langCodeIso_639_1": "sd",+ "langCodeIso_639_2": "snd",+ "countryCode": "pk",+ "slug": "snd",+ "textDirection": "rtl",+ "wpLocale": "snd",+ "code": "snd",+ "translated": 0},- "fuc": {- "english_name": "Fulah",- "native_name": "Pulaar",- "lang_code_iso_639_1": "ff",- "lang_code_iso_639_2": "fuc",- "country_code": "sn",- "slug": "fuc",- "wp_locale": "fuc"+ "af": {+ "name": "Afrikaans",+ "nativeName": "Afrikaans",+ "langCodeIso_639_1": "af",+ "langCodeIso_639_2": "afr",+ "countryCode": "za",+ "slug": "af",+ "googleCode": "af",+ "facebookLocale": "af_ZA",+ "wpLocale": "af",+ "code": "af",+ "translated": 0},- "fi": {- "english_name": "Finnish",- "native_name": "Suomi",- "lang_code_iso_639_1": "fi",- "lang_code_iso_639_2": "fin",- "country_code": "fi",- "slug": "fi",- "google_code": "fi",- "facebook_locale": "fi_FI",- "wp_locale": "fi"+ "sk_SK": {+ "name": "Slovak",+ "nativeName": "Slovenčina",+ "langCodeIso_639_1": "sk",+ "langCodeIso_639_2": "slk",+ "countryCode": "sk",+ "slug": "sk",+ "pluralExpression": "(n == 1) ? 0 : ((n >= 2 && n <= 4) ? 1 : 2)",+ "googleCode": "sk",+ "facebookLocale": "sk_SK",+ "wpLocale": "sk_SK",+ "code": "sk",+ "translated": 0},- "fo": {- "english_name": "Faroese",- "native_name": "Føroyskt",- "lang_code_iso_639_1": "fo",- "lang_code_iso_639_2": "fao",- "country_code": "fo",- "slug": "fo",- "facebook_locale": "fo_FO",- "wp_locale": "fo"+ "uk": {+ "name": "Ukrainian",+ "nativeName": "Українська",+ "langCodeIso_639_1": "uk",+ "langCodeIso_639_2": "ukr",+ "countryCode": "ua",+ "slug": "uk",+ "pluralExpression": "(n % 10 == 1 && n % 100 != 11) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",+ "googleCode": "uk",+ "facebookLocale": "uk_UA",+ "wpLocale": "uk",+ "code": "uk",+ "translated": 0},- "fon": {- "english_name": "Fon",- "native_name": "fɔ̀ngbè",- "lang_code_iso_639_2": "fon",- "country_code": "bj",- "slug": "fon",- "wp_locale": "fon"+ "te": {+ "name": "Telugu",+ "nativeName": "తెలుగు",+ "langCodeIso_639_1": "te",+ "langCodeIso_639_2": "tel",+ "slug": "te",+ "googleCode": "te",+ "facebookLocale": "te_IN",+ "wpLocale": "te",+ "code": "te",+ "translated": 0},- "fr_FR": {- "english_name": "French (France)",- "native_name": "Français",- "lang_code_iso_639_1": "fr",- "country_code": "fr",- "slug": "fr",- "plural_expression": "n > 1",- "google_code": "fr",- "facebook_locale": "fr_FR",- "wp_locale": "fr_FR"+ "th": {+ "name": "Thai",+ "nativeName": "ไทย",+ "langCodeIso_639_1": "th",+ "langCodeIso_639_2": "tha",+ "slug": "th",+ "pluralExpression": "0",+ "googleCode": "th",+ "facebookLocale": "th_TH",+ "wpLocale": "th",+ "code": "th",+ "translated": 0},- "fr_BE": {- "english_name": "French (Belgium)",- "native_name": "Français de Belgique",- "lang_code_iso_639_1": "fr",- "lang_code_iso_639_2": "fra",- "country_code": "be",- "slug": "fr-be",- "plural_expression": "n > 1",- "wp_locale": "fr_BE"+ "bo": {+ "name": "Tibetan",+ "nativeName": "བོད་ཡིག",+ "langCodeIso_639_1": "bo",+ "langCodeIso_639_2": "tib",+ "slug": "bo",+ "pluralExpression": "0",+ "wpLocale": "bo",+ "code": "bo",+ "translated": 0},- "fr_CA": {- "english_name": "French (Canada)",- "native_name": "Français du Canada",- "lang_code_iso_639_1": "fr",- "lang_code_iso_639_2": "fra",- "country_code": "ca",- "slug": "fr-ca",- "plural_expression": "n > 1",- "facebook_locale": "fr_CA",- "wp_locale": "fr_CA"+ "tir": {+ "name": "Tigrinya",+ "nativeName": "ትግርኛ",+ "langCodeIso_639_1": "ti",+ "langCodeIso_639_2": "tir",+ "countryCode": "er",+ "slug": "tir",+ "pluralExpression": "0",+ "wpLocale": "tir",+ "code": "tir",+ "translated": 0},- "frp": {- "english_name": "Arpitan",- "native_name": "Arpitan",- "country_code": "fr",- "slug": "frp",- "plural_expression": "n > 1",- "wp_locale": "frp"+ "tr_TR": {+ "name": "Turkish",+ "nativeName": "Türkçe",+ "langCodeIso_639_1": "tr",+ "langCodeIso_639_2": "tur",+ "countryCode": "tr",+ "slug": "tr",+ "pluralExpression": "n > 1",+ "googleCode": "tr",+ "facebookLocale": "tr_TR",+ "wpLocale": "tr_TR",+ "code": "tr",+ "translated": 0},- "fur": {- "english_name": "Friulian",- "native_name": "Friulian",- "lang_code_iso_639_2": "fur",- "country_code": "it",- "slug": "fur",- "wp_locale": "fur"+ "tuk": {+ "name": "Turkmen",+ "nativeName": "Türkmençe",+ "langCodeIso_639_1": "tk",+ "langCodeIso_639_2": "tuk",+ "countryCode": "tm",+ "slug": "tuk",+ "pluralExpression": "n > 1",+ "facebookLocale": "tk_TM",+ "wpLocale": "tuk",+ "code": "tuk",+ "translated": 0},- "fy": {- "english_name": "Frisian",- "native_name": "Frysk",- "lang_code_iso_639_1": "fy",- "lang_code_iso_639_2": "fry",- "country_code": "nl",- "slug": "fy",- "facebook_locale": "fy_NL",- "wp_locale": "fy"+ "twd": {+ "name": "Tweants",+ "nativeName": "Twents",+ "countryCode": "nl",+ "slug": "twd",+ "wpLocale": "twd",+ "code": "twd",+ "translated": 0},- "ga": {- "english_name": "Irish",- "native_name": "Gaelige",- "lang_code_iso_639_1": "ga",- "lang_code_iso_639_2": "gle",- "country_code": "ie",- "slug": "ga",- "plural_expression": "(n == 1) ? 0 : ((n == 2) ? 1 : ((n >= 3 && n <= 6) ? 2 : ((n >= 7 && n <= 10) ? 3 : 4)))",- "google_code": "ga",- "facebook_locale": "ga_IE",- "wp_locale": "ga"+ "ug_CN": {+ "name": "Uighur",+ "nativeName": "ئۇيغۇرچە",+ "langCodeIso_639_1": "ug",+ "langCodeIso_639_2": "uig",+ "countryCode": "cn",+ "slug": "ug",+ "textDirection": "rtl",+ "wpLocale": "ug_CN",+ "code": "ug",+ "translated": 0},- "gax": {- "english_name": "Borana-Arsi-Guji Oromo",- "native_name": "Afaan Oromoo",- "country_code": "et",- "slug": "gax",- "plural_expression": "n > 1",- "wp_locale": "gax"+ "hsb": {+ "name": "Upper Sorbian",+ "nativeName": "Hornjoserbšćina",+ "langCodeIso_639_2": "hsb",+ "countryCode": "de",+ "slug": "hsb",+ "pluralExpression": "(n % 100 == 1) ? 0 : ((n % 100 == 2) ? 1 : ((n % 100 == 3 || n % 100 == 4) ? 2 : 3))",+ "wpLocale": "hsb",+ "code": "hsb",+ "translated": 0},- "gd": {- "english_name": "Scottish Gaelic",- "native_name": "Gàidhlig",- "lang_code_iso_639_1": "gd",- "lang_code_iso_639_2": "gla",- "country_code": "gb",- "slug": "gd",- "plural_expression": "(n == 1 || n == 11) ? 0 : ((n == 2 || n == 12) ? 1 : ((n >= 3 && n <= 10 || n >= 13 && n <= 19) ? 2 : 3))",- "google_code": "gd",- "wp_locale": "gd"+ "ta_LK": {+ "name": "Tamil (Sri Lanka)",+ "nativeName": "தமிழ்",+ "langCodeIso_639_1": "ta",+ "langCodeIso_639_2": "tam",+ "countryCode": "lk",+ "slug": "ta-lk",+ "googleCode": "ta",+ "wpLocale": "ta_LK",+ "code": "ta-lk",+ "translated": 0},- "gl_ES": {- "english_name": "Galician",- "native_name": "Galego",- "lang_code_iso_639_1": "gl",- "lang_code_iso_639_2": "glg",- "country_code": "es",- "slug": "gl",- "google_code": "gl",- "facebook_locale": "gl_ES",- "wp_locale": "gl_ES"+ "ur": {+ "name": "Urdu",+ "nativeName": "اردو",+ "langCodeIso_639_1": "ur",+ "langCodeIso_639_2": "urd",+ "countryCode": "pk",+ "slug": "ur",+ "googleCode": "ur",+ "facebookLocale": "ur_PK",+ "textDirection": "rtl",+ "wpLocale": "ur",+ "code": "ur",+ "translated": 0},- "gu": {- "english_name": "Gujarati",- "native_name": "ગુજરાતી",- "lang_code_iso_639_1": "gu",- "lang_code_iso_639_2": "guj",- "slug": "gu",- "google_code": "gu",- "facebook_locale": "gu_IN",- "wp_locale": "gu"+ "uz_UZ": {+ "name": "Uzbek",+ "nativeName": "O‘zbekcha",+ "langCodeIso_639_1": "uz",+ "langCodeIso_639_2": "uzb",+ "countryCode": "uz",+ "slug": "uz",+ "pluralExpression": "0",+ "googleCode": "uz",+ "facebookLocale": "uz_UZ",+ "wpLocale": "uz_UZ",+ "code": "uz",+ "translated": 0},- "hat": {- "english_name": "Haitian Creole",- "native_name": "Kreyol ayisyen",- "lang_code_iso_639_1": "ht",- "lang_code_iso_639_2": "hat",- "country_code": "ht",- "slug": "hat",- "wp_locale": "hat"+ "vec": {+ "name": "Venetian",+ "nativeName": "Vèneto",+ "langCodeIso_639_2": "roa",+ "countryCode": "it",+ "slug": "vec",+ "wpLocale": "vec",+ "code": "vec",+ "translated": 0},- "hau": {- "english_name": "Hausa",- "native_name": "Harshen Hausa",- "lang_code_iso_639_1": "ha",- "lang_code_iso_639_2": "hau",- "country_code": "ng",- "slug": "hau",- "google_code": "ha",- "facebook_locale": "ha_NG",- "wp_locale": "hau"+ "vi": {+ "name": "Vietnamese",+ "nativeName": "Tiếng Việt",+ "langCodeIso_639_1": "vi",+ "langCodeIso_639_2": "vie",+ "countryCode": "vn",+ "slug": "vi",+ "pluralExpression": "0",+ "googleCode": "vi",+ "facebookLocale": "vi_VN",+ "wpLocale": "vi",+ "code": "vi",+ "translated": 0},- "haw_US": {- "english_name": "Hawaiian",- "native_name": "Ōlelo Hawaiʻi",- "lang_code_iso_639_2": "haw",- "country_code": "us",- "slug": "haw",- "wp_locale": "haw_US"+ "cy": {+ "name": "Welsh",+ "nativeName": "Cymraeg",+ "langCodeIso_639_1": "cy",+ "langCodeIso_639_2": "cym",+ "countryCode": "gb",+ "slug": "cy",+ "pluralExpression": "(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3",+ "googleCode": "cy",+ "facebookLocale": "cy_GB",+ "wpLocale": "cy",+ "code": "cy",+ "translated": 0},- "haz": {- "english_name": "Hazaragi",- "native_name": "هزاره گی",- "country_code": "af",- "slug": "haz",- "text_direction": "rtl",- "wp_locale": "haz"+ "wol": {+ "name": "Wolof",+ "nativeName": "Wolof",+ "langCodeIso_639_1": "wo",+ "langCodeIso_639_2": "wol",+ "countryCode": "sn",+ "slug": "wol",+ "pluralExpression": "0",+ "wpLocale": "wol",+ "code": "wol",+ "translated": 0},- "he_IL": {- "english_name": "Hebrew",- "native_name": "עִבְרִית",- "lang_code_iso_639_1": "he",- "country_code": "il",- "slug": "he",- "google_code": "iw",- "facebook_locale": "he_IL",- "text_direction": "rtl",- "wp_locale": "he_IL"+ "xho": {+ "name": "Xhosa",+ "nativeName": "isiXhosa",+ "langCodeIso_639_1": "xh",+ "langCodeIso_639_2": "xho",+ "countryCode": "za",+ "slug": "xho",+ "googleCode": "xh",+ "facebookLocale": "xh_ZA",+ "wpLocale": "xho",+ "code": "xho",+ "translated": 0},- "hi_IN": {- "english_name": "Hindi",- "native_name": "हिन्दी",- "lang_code_iso_639_1": "hi",- "lang_code_iso_639_2": "hin",- "country_code": "in",- "slug": "hi",- "google_code": "hi",- "facebook_locale": "hi_IN",- "wp_locale": "hi_IN"+ "yor": {+ "name": "Yoruba",+ "nativeName": "Yorùbá",+ "langCodeIso_639_1": "yo",+ "langCodeIso_639_2": "yor",+ "countryCode": "ng",+ "slug": "yor",+ "googleCode": "yo",+ "facebookLocale": "yo_NG",+ "wpLocale": "yor",+ "code": "yor",+ "translated": 0},- "hr": {- "english_name": "Croatian",- "native_name": "Hrvatski",- "lang_code_iso_639_1": "hr",- "lang_code_iso_639_2": "hrv",- "country_code": "hr",- "slug": "hr",- "plural_expression": "(n % 10 == 1 && n % 100 != 11) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",- "google_code": "hr",- "facebook_locale": "hr_HR",- "wp_locale": "hr"+ "tt_RU": {+ "name": "Tatar",+ "nativeName": "Татар теле",+ "langCodeIso_639_1": "tt",+ "langCodeIso_639_2": "tat",+ "countryCode": "ru",+ "slug": "tt",+ "pluralExpression": "0",+ "facebookLocale": "tt_RU",+ "wpLocale": "tt_RU",+ "code": "tt",+ "translated": 0},- "hsb": {- "english_name": "Upper Sorbian",- "native_name": "Hornjoserbšćina",- "lang_code_iso_639_2": "hsb",- "country_code": "de",- "slug": "hsb",- "plural_expression": "(n % 100 == 1) ? 0 : ((n % 100 == 2) ? 1 : ((n % 100 == 3 || n % 100 == 4) ? 2 : 3))",- "wp_locale": "hsb"+ "ta_IN": {+ "name": "Tamil",+ "nativeName": "தமிழ்",+ "langCodeIso_639_1": "ta",+ "langCodeIso_639_2": "tam",+ "countryCode": "in",+ "slug": "ta",+ "googleCode": "ta",+ "facebookLocale": "ta_IN",+ "wpLocale": "ta_IN",+ "code": "ta",+ "translated": 0},- "hu_HU": {- "english_name": "Hungarian",- "native_name": "Magyar",- "lang_code_iso_639_1": "hu",- "lang_code_iso_639_2": "hun",- "country_code": "hu",- "slug": "hu",- "google_code": "hu",- "facebook_locale": "hu_HU",- "wp_locale": "hu_HU"+ "sl_SI": {+ "name": "Slovenian",+ "nativeName": "Slovenščina",+ "langCodeIso_639_1": "sl",+ "langCodeIso_639_2": "slv",+ "countryCode": "si",+ "slug": "sl",+ "pluralExpression": "(n % 100 == 1) ? 0 : ((n % 100 == 2) ? 1 : ((n % 100 == 3 || n % 100 == 4) ? 2 : 3))",+ "googleCode": "sl",+ "facebookLocale": "sl_SI",+ "wpLocale": "sl_SI",+ "code": "sl",+ "translated": 0},- "hy": {- "english_name": "Armenian",- "native_name": "Հայերեն",- "lang_code_iso_639_1": "hy",- "lang_code_iso_639_2": "hye",- "country_code": "am",- "slug": "hy",- "google_code": "hy",- "facebook_locale": "hy_AM",- "wp_locale": "hy"+ "es_PR": {+ "name": "Spanish (Puerto Rico)",+ "nativeName": "Español de Puerto Rico",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "pr",+ "slug": "es-pr",+ "googleCode": "es",+ "facebookLocale": "es_LA",+ "wpLocale": "es_PR",+ "code": "es-pr",+ "translated": 0},- "ibo": {- "english_name": "Igbo",- "native_name": "Asụsụ Igbo",- "lang_code_iso_639_1": "ig",- "lang_code_iso_639_2": "ibo",- "country_code": "ng",- "slug": "ibo",- "plural_expression": "0",- "google_code": "ig",- "wp_locale": "ibo"+ "so_SO": {+ "name": "Somali",+ "nativeName": "Afsoomaali",+ "langCodeIso_639_1": "so",+ "langCodeIso_639_2": "som",+ "countryCode": "so",+ "slug": "so",+ "googleCode": "so",+ "facebookLocale": "so_SO",+ "wpLocale": "so_SO",+ "code": "so",+ "translated": 0},- "id_ID": {- "english_name": "Indonesian",- "native_name": "Bahasa Indonesia",- "lang_code_iso_639_1": "id",- "lang_code_iso_639_2": "ind",- "country_code": "id",- "slug": "id",- "plural_expression": "n > 1",- "google_code": "id",- "facebook_locale": "id_ID",- "wp_locale": "id_ID"+ "azb": {+ "name": "South Azerbaijani",+ "nativeName": "گؤنئی آذربایجان",+ "langCodeIso_639_1": "az",+ "countryCode": "ir",+ "slug": "azb",+ "textDirection": "rtl",+ "wpLocale": "azb",+ "code": "azb",+ "translated": 0},- "ido": {- "english_name": "Ido",- "native_name": "Ido",- "lang_code_iso_639_1": "io",- "lang_code_iso_639_2": "ido",- "slug": "ido",- "wp_locale": "ido"+ "es_CL": {+ "name": "Spanish (Chile)",+ "nativeName": "Español de Chile",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "cl",+ "slug": "es-cl",+ "googleCode": "es",+ "facebookLocale": "es_LA",+ "wpLocale": "es_CL",+ "code": "es-cl",+ "translated": 0},- "is_IS": {- "english_name": "Icelandic",- "native_name": "Íslenska",- "lang_code_iso_639_1": "is",- "lang_code_iso_639_2": "isl",- "country_code": "is",- "slug": "is",- "plural_expression": "n % 10 != 1 || n % 100 == 11",- "google_code": "is",- "facebook_locale": "is_IS",- "wp_locale": "is_IS"+ "es_CR": {+ "name": "Spanish (Costa Rica)",+ "nativeName": "Español de Costa Rica",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "cr",+ "slug": "es-cr",+ "googleCode": "es",+ "facebookLocale": "es_LA",+ "wpLocale": "es_CR",+ "code": "es-cr",+ "translated": 0},- "it_IT": {- "english_name": "Italian",- "native_name": "Italiano",- "lang_code_iso_639_1": "it",- "lang_code_iso_639_2": "ita",- "country_code": "it",- "slug": "it",- "google_code": "it",- "facebook_locale": "it_IT",- "wp_locale": "it_IT"+ "me_ME": {+ "name": "Montenegrin",+ "nativeName": "Crnogorski jezik",+ "countryCode": "me",+ "slug": "me",+ "pluralExpression": "(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)",+ "wpLocale": "me_ME",+ "code": "me",+ "translated": 0},- "ja": {- "english_name": "Japanese",- "native_name": "日本語",- "lang_code_iso_639_1": "ja",- "country_code": "jp",- "slug": "ja",- "plural_expression": "0",- "google_code": "ja",- "facebook_locale": "ja_JP",- "wp_locale": "ja"+ "es_GT": {+ "name": "Spanish (Guatemala)",+ "nativeName": "Español de Guatemala",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "gt",+ "slug": "es-gt",+ "googleCode": "es",+ "facebookLocale": "es_LA",+ "wpLocale": "es_GT",+ "code": "es-gt",+ "translated": 0},- "jv_ID": {- "english_name": "Javanese",- "native_name": "Basa Jawa",- "lang_code_iso_639_1": "jv",- "lang_code_iso_639_2": "jav",- "country_code": "id",- "slug": "jv",- "google_code": "jw",- "facebook_locale": "jv_ID",- "wp_locale": "jv_ID"+ "es_HN": {+ "name": "Spanish (Honduras)",+ "nativeName": "Español de Honduras",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "hn",+ "slug": "es-hn",+ "googleCode": "es",+ "facebookLocale": "es_LA",+ "wpLocale": "es_HN",+ "code": "es-hn",+ "translated": 0},- "ka_GE": {- "english_name": "Georgian",- "native_name": "ქართული",- "lang_code_iso_639_1": "ka",- "lang_code_iso_639_2": "kat",- "country_code": "ge",- "slug": "ka",- "plural_expression": "0",- "google_code": "ka",- "facebook_locale": "ka_GE",- "wp_locale": "ka_GE"+ "es_PE": {+ "name": "Spanish (Peru)",+ "nativeName": "Español de Perú",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "pe",+ "slug": "es-pe",+ "googleCode": "es",+ "facebookLocale": "es_LA",+ "wpLocale": "es_PE",+ "code": "es-pe",+ "translated": 0},- "kaa": {- "english_name": "Karakalpak",- "native_name": "Qaraqalpaq tili",- "lang_code_iso_639_2": "kaa",- "country_code": "uz",- "slug": "kaa",- "wp_locale": "kaa"+ "es_UY": {+ "name": "Spanish (Uruguay)",+ "nativeName": "Español de Uruguay",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "uy",+ "slug": "es-uy",+ "googleCode": "es",+ "facebookLocale": "es_LA",+ "wpLocale": "es_UY",+ "code": "es-uy",+ "translated": 0},- "kab": {- "english_name": "Kabyle",- "native_name": "Taqbaylit",- "lang_code_iso_639_2": "kab",- "country_code": "dz",- "slug": "kab",- "plural_expression": "n > 1",- "wp_locale": "kab"+ "tzm": {+ "name": "Tamazight (Central Atlas)",+ "nativeName": "ⵜⴰⵎⴰⵣⵉⵖⵜ",+ "langCodeIso_639_2": "tzm",+ "countryCode": "ma",+ "slug": "tzm",+ "pluralExpression": "n > 1",+ "wpLocale": "tzm",+ "code": "tzm",+ "translated": 0},- "kal": {- "english_name": "Greenlandic",- "native_name": "Kalaallisut",- "lang_code_iso_639_1": "kl",- "lang_code_iso_639_2": "kal",- "country_code": "gl",- "slug": "kal",- "wp_locale": "kal"+ "su_ID": {+ "name": "Sundanese",+ "nativeName": "Basa Sunda",+ "langCodeIso_639_1": "su",+ "langCodeIso_639_2": "sun",+ "countryCode": "id",+ "slug": "su",+ "pluralExpression": "0",+ "googleCode": "su",+ "wpLocale": "su_ID",+ "code": "su",+ "translated": 0},- "kin": {- "english_name": "Kinyarwanda",- "native_name": "Ikinyarwanda",- "lang_code_iso_639_1": "rw",- "lang_code_iso_639_2": "kin",- "country_code": "rw",- "slug": "kin",- "facebook_locale": "rw_RW",- "wp_locale": "kin"+ "sw": {+ "name": "Swahili",+ "nativeName": "Kiswahili",+ "langCodeIso_639_1": "sw",+ "langCodeIso_639_2": "swa",+ "slug": "sw",+ "googleCode": "sw",+ "facebookLocale": "sw_KE",+ "wpLocale": "sw",+ "code": "sw",+ "translated": 0},- "kk": {- "english_name": "Kazakh",- "native_name": "Қазақ тілі",- "lang_code_iso_639_1": "kk",- "lang_code_iso_639_2": "kaz",- "country_code": "kz",- "slug": "kk",- "google_code": "kk",- "facebook_locale": "kk_KZ",- "wp_locale": "kk"+ "ssw": {+ "name": "Swati",+ "nativeName": "SiSwati",+ "langCodeIso_639_1": "ss",+ "langCodeIso_639_2": "ssw",+ "countryCode": "sz",+ "slug": "ssw",+ "wpLocale": "ssw",+ "code": "ssw",+ "translated": 0},- "km": {- "english_name": "Khmer",- "native_name": "ភាសាខ្មែរ",- "lang_code_iso_639_1": "km",- "lang_code_iso_639_2": "khm",- "country_code": "kh",- "slug": "km",- "plural_expression": "0",- "google_code": "km",- "facebook_locale": "km_KH",- "wp_locale": "km"+ "syr": {+ "name": "Syriac",+ "nativeName": "Syriac",+ "countryCode": "iq",+ "slug": "syr",+ "wpLocale": "syr",+ "code": "syr",+ "translated": 0},- "kmr": {- "english_name": "Kurdish (Kurmanji)",- "native_name": "Kurdî",- "lang_code_iso_639_1": "ku",- "country_code": "tr",- "slug": "kmr",- "facebook_locale": "ku_TR",- "wp_locale": "kmr"+ "tl": {+ "name": "Tagalog",+ "nativeName": "Tagalog",+ "langCodeIso_639_1": "tl",+ "langCodeIso_639_2": "tgl",+ "countryCode": "ph",+ "slug": "tl",+ "googleCode": "tl",+ "facebookLocale": "tl_PH",+ "wpLocale": "tl",+ "code": "tl",+ "translated": 0},- "kn": {- "english_name": "Kannada",- "native_name": "ಕನ್ನಡ",- "lang_code_iso_639_1": "kn",- "lang_code_iso_639_2": "kan",- "country_code": "in",- "slug": "kn",- "google_code": "kn",- "facebook_locale": "kn_IN",- "wp_locale": "kn"+ "tah": {+ "name": "Tahitian",+ "nativeName": "Reo Tahiti",+ "langCodeIso_639_1": "ty",+ "langCodeIso_639_2": "tah",+ "countryCode": "pf",+ "slug": "tah",+ "pluralExpression": "n > 1",+ "wpLocale": "tah",+ "code": "tah",+ "translated": 0},- "ko_KR": {- "english_name": "Korean",- "native_name": "한국어",- "lang_code_iso_639_1": "ko",- "lang_code_iso_639_2": "kor",- "country_code": "kr",- "slug": "ko",- "plural_expression": "0",- "google_code": "ko",- "facebook_locale": "ko_KR",- "wp_locale": "ko_KR"+ "tg": {+ "name": "Tajik",+ "nativeName": "Тоҷикӣ",+ "langCodeIso_639_1": "tg",+ "langCodeIso_639_2": "tgk",+ "countryCode": "tj",+ "slug": "tg",+ "googleCode": "tg",+ "facebookLocale": "tg_TJ",+ "wpLocale": "tg",+ "code": "tg",+ "translated": 0},- "kir": {- "english_name": "Kyrgyz",- "native_name": "Кыргызча",- "lang_code_iso_639_1": "ky",- "lang_code_iso_639_2": "kir",- "country_code": "kg",- "slug": "kir",- "plural_expression": "0",- "google_code": "ky",- "wp_locale": "kir"+ "zgh": {+ "name": "Tamazight",+ "nativeName": "ⵜⴰⵎⴰⵣⵉⵖⵜ",+ "langCodeIso_639_2": "zgh",+ "countryCode": "ma",+ "slug": "zgh",+ "pluralExpression": "n >= 2 && (n < 11 || n > 99)",+ "wpLocale": "zgh",+ "code": "zgh",+ "translated": 0},- "lb_LU": {- "english_name": "Luxembourgish",- "native_name": "Lëtzebuergesch",- "lang_code_iso_639_1": "lb",- "country_code": "lu",- "slug": "lb",- "wp_locale": "lb_LU"+ "ary": {+ "name": "Moroccan Arabic",+ "nativeName": "العربية المغربية",+ "langCodeIso_639_1": "ar",+ "countryCode": "ma",+ "slug": "ary",+ "pluralExpression": "(n == 0) ? 0 : ((n == 1) ? 1 : ((n == 2) ? 2 : ((n % 100 >= 3 && n % 100 <= 10) ? 3 : ((n % 100 >= 11 && n % 100 <= 99) ? 4 : 5))))",+ "textDirection": "rtl",+ "wpLocale": "ary",+ "code": "ary",+ "translated": 0},- "li": {- "english_name": "Limburgish",- "native_name": "Limburgs",- "lang_code_iso_639_1": "li",- "lang_code_iso_639_2": "lim",- "country_code": "nl",- "slug": "li",- "facebook_locale": "li_NL",- "wp_locale": "li"+ "lug": {+ "name": "Luganda",+ "nativeName": "Oluganda",+ "langCodeIso_639_1": "lg",+ "langCodeIso_639_2": "lug",+ "countryCode": "ug",+ "slug": "lug",+ "wpLocale": "lug",+ "code": "lug",+ "translated": 0},- "lij": {- "english_name": "Ligurian",- "native_name": "Lìgure",- "country_code": "it",- "slug": "lij",- "wp_locale": "lij"+ "mn": {+ "name": "Mongolian",+ "nativeName": "Монгол",+ "langCodeIso_639_1": "mn",+ "langCodeIso_639_2": "mon",+ "countryCode": "mn",+ "slug": "mn",+ "googleCode": "mn",+ "facebookLocale": "mn_MN",+ "wpLocale": "mn",+ "code": "mn",+ "translated": 0},- "lin": {- "english_name": "Lingala",- "native_name": "Ngala",- "lang_code_iso_639_1": "ln",- "lang_code_iso_639_2": "lin",- "country_code": "cd",- "slug": "lin",- "plural_expression": "n > 1",- "facebook_locale": "ln_CD",- "wp_locale": "lin"+ "art_xemoji": {+ "name": "Emoji",+ "langCodeIso_639_2": "art",+ "slug": "art-xemoji",+ "pluralExpression": "0",+ "wpLocale": "art_xemoji",+ "code": "art-xemoji",+ "translated": 0},- "lmo": {- "english_name": "Lombard",- "native_name": "Lombardo",- "country_code": "it",- "slug": "lmo",- "wp_locale": "lmo"+ "ceb": {+ "name": "Cebuano",+ "nativeName": "Cebuano",+ "langCodeIso_639_2": "ceb",+ "countryCode": "ph",+ "slug": "ceb",+ "facebookLocale": "cx_PH",+ "wpLocale": "ceb",+ "code": "ceb",+ "translated": 0},- "lo": {- "english_name": "Lao",- "native_name": "ພາສາລາວ",- "lang_code_iso_639_1": "lo",- "lang_code_iso_639_2": "lao",- "country_code": "la",- "slug": "lo",- "plural_expression": "0",- "google_code": "lo",- "facebook_locale": "lo_LA",- "wp_locale": "lo"+ "zh_HK": {+ "name": "Chinese (Hong Kong)",+ "nativeName": "香港中文版\t",+ "langCodeIso_639_1": "zh",+ "langCodeIso_639_2": "zho",+ "countryCode": "hk",+ "slug": "zh-hk",+ "pluralExpression": "0",+ "facebookLocale": "zh_HK",+ "wpLocale": "zh_HK",+ "code": "zh-hk",+ "translated": 0},- "lt_LT": {- "english_name": "Lithuanian",- "native_name": "Lietuvių kalba",- "lang_code_iso_639_1": "lt",- "lang_code_iso_639_2": "lit",- "country_code": "lt",- "slug": "lt",- "plural_expression": "(n % 10 == 1 && (n % 100 < 11 || n % 100 > 19)) ? 0 : ((n % 10 >= 2 && n % 10 <= 9 && (n % 100 < 11 || n % 100 > 19)) ? 1 : 2)",- "google_code": "lt",- "facebook_locale": "lt_LT",- "wp_locale": "lt_LT"+ "zh_SG": {+ "name": "Chinese (Singapore)",+ "nativeName": "中文",+ "langCodeIso_639_1": "zh",+ "langCodeIso_639_2": "zho",+ "countryCode": "sg",+ "slug": "zh-sg",+ "pluralExpression": "0",+ "wpLocale": "zh_SG",+ "code": "zh-sg",+ "translated": 0},- "lug": {- "english_name": "Luganda",- "native_name": "Oluganda",- "lang_code_iso_639_1": "lg",- "lang_code_iso_639_2": "lug",- "country_code": "ug",- "slug": "lug",- "wp_locale": "lug"+ "cor": {+ "name": "Cornish",+ "nativeName": "Kernewek",+ "langCodeIso_639_1": "kw",+ "langCodeIso_639_2": "cor",+ "countryCode": "gb",+ "slug": "cor",+ "pluralExpression": "(n == 0) ? 0 : ((n == 1) ? 1 : (((n % 100 == 2 || n % 100 == 22 || n % 100 == 42 || n % 100 == 62 || n % 100 == 82) || n % 1000 == 0 && (n % 100000 >= 1000 && n % 100000 <= 20000 || n % 100000 == 40000 || n % 100000 == 60000 || n % 100000 == 80000) || n != 0 && n % 1000000 == 100000) ? 2 : ((n % 100 == 3 || n % 100 == 23 || n % 100 == 43 || n % 100 == 63 || n % 100 == 83) ? 3 : ((n != 1 && (n % 100 == 1 || n % 100 == 21 || n % 100 == 41 || n % 100 == 61 || n % 100 == 81)) ? 4 : 5))))",+ "wpLocale": "cor",+ "code": "cor",+ "translated": 0},- "lv": {- "english_name": "Latvian",- "native_name": "Latviešu valoda",- "lang_code_iso_639_1": "lv",- "lang_code_iso_639_2": "lav",- "country_code": "lv",- "slug": "lv",- "plural_expression": "(n % 10 == 0 || n % 100 >= 11 && n % 100 <= 19) ? 0 : ((n % 10 == 1 && n % 100 != 11) ? 1 : 2)",- "google_code": "lv",- "facebook_locale": "lv_LV",- "wp_locale": "lv"+ "co": {+ "name": "Corsican",+ "nativeName": "Corsu",+ "langCodeIso_639_1": "co",+ "langCodeIso_639_2": "cos",+ "countryCode": "it",+ "slug": "co",+ "wpLocale": "co",+ "code": "co",+ "translated": 0},- "mai": {- "english_name": "Maithili",- "native_name": "मैथिली",- "lang_code_iso_639_2": "mai",- "country_code": "in",- "slug": "mai",- "wp_locale": "mai"+ "hr": {+ "name": "Croatian",+ "nativeName": "Hrvatski",+ "langCodeIso_639_1": "hr",+ "langCodeIso_639_2": "hrv",+ "countryCode": "hr",+ "slug": "hr",+ "pluralExpression": "(n % 10 == 1 && n % 100 != 11) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",+ "googleCode": "hr",+ "facebookLocale": "hr_HR",+ "wpLocale": "hr",+ "code": "hr",+ "translated": 0},- "me_ME": {- "english_name": "Montenegrin",- "native_name": "Crnogorski jezik",- "country_code": "me",- "slug": "me",- "plural_expression": "(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)",- "wp_locale": "me_ME"+ "dv": {+ "name": "Dhivehi",+ "nativeName": "ދިވެހި",+ "langCodeIso_639_1": "dv",+ "langCodeIso_639_2": "div",+ "countryCode": "mv",+ "slug": "dv",+ "textDirection": "rtl",+ "wpLocale": "dv",+ "code": "dv",+ "translated": 0},- "mfe": {- "english_name": "Mauritian Creole",- "native_name": "Kreol Morisien",- "country_code": "mu",- "slug": "mfe",- "plural_expression": "0",- "wp_locale": "mfe"+ "dzo": {+ "name": "Dzongkha",+ "nativeName": "རྫོང་ཁ",+ "langCodeIso_639_1": "dz",+ "langCodeIso_639_2": "dzo",+ "countryCode": "bt",+ "slug": "dzo",+ "pluralExpression": "0",+ "wpLocale": "dzo",+ "code": "dzo",+ "translated": 0},- "mg_MG": {- "english_name": "Malagasy",- "native_name": "Malagasy",- "lang_code_iso_639_1": "mg",- "lang_code_iso_639_2": "mlg",- "country_code": "mg",- "slug": "mg",- "google_code": "mg",- "facebook_locale": "mg_MG",- "wp_locale": "mg_MG"+ "en_NZ": {+ "name": "English (New Zealand)",+ "nativeName": "English (New Zealand)",+ "langCodeIso_639_1": "en",+ "langCodeIso_639_2": "eng",+ "countryCode": "nz",+ "slug": "en-nz",+ "googleCode": "en",+ "wpLocale": "en_NZ",+ "code": "en-nz",+ "translated": 0},- "mk_MK": {- "english_name": "Macedonian",- "native_name": "Македонски јазик",- "lang_code_iso_639_1": "mk",- "lang_code_iso_639_2": "mkd",- "country_code": "mk",- "slug": "mk",- "plural_expression": "n % 10 != 1 || n % 100 == 11",- "google_code": "mk",- "facebook_locale": "mk_MK",- "wp_locale": "mk_MK"+ "ca": {+ "name": "Catalan",+ "nativeName": "Català",+ "langCodeIso_639_1": "ca",+ "langCodeIso_639_2": "cat",+ "slug": "ca",+ "googleCode": "ca",+ "facebookLocale": "ca_ES",+ "wpLocale": "ca",+ "code": "ca",+ "translated": 0},- "ml_IN": {- "english_name": "Malayalam",- "native_name": "മലയാളം",- "lang_code_iso_639_1": "ml",- "lang_code_iso_639_2": "mal",- "country_code": "in",- "slug": "ml",- "google_code": "ml",- "facebook_locale": "ml_IN",- "wp_locale": "ml_IN"- },- "mlt": {- "english_name": "Maltese",- "native_name": "Malti",- "lang_code_iso_639_1": "mt",- "lang_code_iso_639_2": "mlt",- "country_code": "mt",- "slug": "mlt",- "plural_expression": "(n == 1) ? 0 : ((n == 0 || n % 100 >= 2 && n % 100 <= 10) ? 1 : ((n % 100 >= 11 && n % 100 <= 19) ? 2 : 3))",- "google_code": "mt",- "facebook_locale": "mt_MT",- "wp_locale": "mlt"+ "eo": {+ "name": "Esperanto",+ "nativeName": "Esperanto",+ "langCodeIso_639_1": "eo",+ "langCodeIso_639_2": "epo",+ "slug": "eo",+ "googleCode": "eo",+ "facebookLocale": "eo_EO",+ "wpLocale": "eo",+ "code": "eo",+ "translated": 0},- "mn": {- "english_name": "Mongolian",- "native_name": "Монгол",- "lang_code_iso_639_1": "mn",- "lang_code_iso_639_2": "mon",- "country_code": "mn",- "slug": "mn",- "google_code": "mn",- "facebook_locale": "mn_MN",- "wp_locale": "mn"+ "et": {+ "name": "Estonian",+ "nativeName": "Eesti",+ "langCodeIso_639_1": "et",+ "langCodeIso_639_2": "est",+ "countryCode": "ee",+ "slug": "et",+ "googleCode": "et",+ "facebookLocale": "et_EE",+ "wpLocale": "et",+ "code": "et",+ "translated": 0},- "mr": {- "english_name": "Marathi",- "native_name": "मराठी",- "lang_code_iso_639_1": "mr",- "lang_code_iso_639_2": "mar",- "slug": "mr",- "google_code": "mr",- "facebook_locale": "mr_IN",- "wp_locale": "mr"+ "fo": {+ "name": "Faroese",+ "nativeName": "Føroyskt",+ "langCodeIso_639_1": "fo",+ "langCodeIso_639_2": "fao",+ "countryCode": "fo",+ "slug": "fo",+ "facebookLocale": "fo_FO",+ "wpLocale": "fo",+ "code": "fo",+ "translated": 0},- "mri": {- "english_name": "Maori",- "native_name": "Te Reo Māori",- "lang_code_iso_639_1": "mi",- "country_code": "nz",- "slug": "mri",- "plural_expression": "n > 1",- "google_code": "mi",- "wp_locale": "mri"+ "fi": {+ "name": "Finnish",+ "nativeName": "Suomi",+ "langCodeIso_639_1": "fi",+ "langCodeIso_639_2": "fin",+ "countryCode": "fi",+ "slug": "fi",+ "googleCode": "fi",+ "facebookLocale": "fi_FI",+ "wpLocale": "fi",+ "code": "fi",+ "translated": 0},- "ms_MY": {- "english_name": "Malay",- "native_name": "Bahasa Melayu",- "lang_code_iso_639_1": "ms",- "lang_code_iso_639_2": "msa",- "slug": "ms",- "plural_expression": "0",- "google_code": "ms",- "facebook_locale": "ms_MY",- "wp_locale": "ms_MY"+ "fon": {+ "name": "Fon",+ "nativeName": "fɔ̀ngbè",+ "langCodeIso_639_2": "fon",+ "countryCode": "bj",+ "slug": "fon",+ "wpLocale": "fon",+ "code": "fon",+ "translated": 0},- "my_MM": {- "english_name": "Myanmar (Burmese)",- "native_name": "ဗမာစာ",- "lang_code_iso_639_1": "my",- "lang_code_iso_639_2": "mya",- "country_code": "mm",- "slug": "mya",- "google_code": "my",- "wp_locale": "my_MM"+ "fr_BE": {+ "name": "French (Belgium)",+ "nativeName": "Français de Belgique",+ "langCodeIso_639_1": "fr",+ "langCodeIso_639_2": "fra",+ "countryCode": "be",+ "slug": "fr-be",+ "pluralExpression": "n > 1",+ "wpLocale": "fr_BE",+ "code": "fr-be",+ "translated": 0},- "ne_NP": {- "english_name": "Nepali",- "native_name": "नेपाली",- "lang_code_iso_639_1": "ne",- "lang_code_iso_639_2": "nep",- "country_code": "np",- "slug": "ne",- "google_code": "ne",- "facebook_locale": "ne_NP",- "wp_locale": "ne_NP"+ "fr_CA": {+ "name": "French (Canada)",+ "nativeName": "Français du Canada",+ "langCodeIso_639_1": "fr",+ "langCodeIso_639_2": "fra",+ "countryCode": "ca",+ "slug": "fr-ca",+ "pluralExpression": "n > 1",+ "facebookLocale": "fr_CA",+ "wpLocale": "fr_CA",+ "code": "fr-ca",+ "translated": 0},- "nb_NO": {- "english_name": "Norwegian (Bokmål)",- "native_name": "Norsk bokmål",- "lang_code_iso_639_1": "nb",- "lang_code_iso_639_2": "nob",- "country_code": "no",- "slug": "nb",- "google_code": "no",- "facebook_locale": "nb_NO",- "wp_locale": "nb_NO"+ "fy": {+ "name": "Frisian",+ "nativeName": "Frysk",+ "langCodeIso_639_1": "fy",+ "langCodeIso_639_2": "fry",+ "countryCode": "nl",+ "slug": "fy",+ "facebookLocale": "fy_NL",+ "wpLocale": "fy",+ "code": "fy",+ "translated": 0},- "nl_NL": {- "english_name": "Dutch",- "native_name": "Nederlands",- "lang_code_iso_639_1": "nl",- "lang_code_iso_639_2": "nld",- "country_code": "nl",- "slug": "nl",- "google_code": "nl",- "facebook_locale": "nl_NL",- "wp_locale": "nl_NL"+ "bal": {+ "name": "Catalan (Balear)",+ "nativeName": "Català (Balear)",+ "langCodeIso_639_2": "bal",+ "countryCode": "es",+ "slug": "bal",+ "wpLocale": "bal",+ "code": "bal",+ "translated": 0},- "nl_BE": {- "english_name": "Dutch (Belgium)",- "native_name": "Nederlands (België)",- "lang_code_iso_639_1": "nl",- "lang_code_iso_639_2": "nld",- "country_code": "be",- "slug": "nl-be",- "google_code": "nl",- "wp_locale": "nl_BE"+ "bg_BG": {+ "name": "Bulgarian",+ "nativeName": "Български",+ "langCodeIso_639_1": "bg",+ "langCodeIso_639_2": "bul",+ "countryCode": "bg",+ "slug": "bg",+ "googleCode": "bg",+ "facebookLocale": "bg_BG",+ "wpLocale": "bg_BG",+ "code": "bg",+ "translated": 0},- "nn_NO": {- "english_name": "Norwegian (Nynorsk)",- "native_name": "Norsk nynorsk",- "lang_code_iso_639_1": "nn",- "lang_code_iso_639_2": "nno",- "country_code": "no",- "slug": "nn",- "google_code": "no",- "facebook_locale": "nn_NO",- "wp_locale": "nn_NO"+ "fuc": {+ "name": "Fulah",+ "nativeName": "Pulaar",+ "langCodeIso_639_1": "ff",+ "langCodeIso_639_2": "fuc",+ "countryCode": "sn",+ "slug": "fuc",+ "wpLocale": "fuc",+ "code": "fuc",+ "translated": 0},- "nqo": {- "english_name": "N’ko",- "native_name": "ߒߞߏ",- "lang_code_iso_639_2": "nqo",- "country_code": "gn",- "slug": "nqo",- "text_direction": "rtl",- "wp_locale": "nqo"+ "az_TR": {+ "name": "Azerbaijani (Turkey)",+ "nativeName": "Azərbaycan Türkcəsi",+ "langCodeIso_639_1": "az",+ "langCodeIso_639_2": "aze",+ "countryCode": "tr",+ "slug": "az-tr",+ "wpLocale": "az_TR",+ "code": "az-tr",+ "translated": 0},- "oci": {- "english_name": "Occitan",- "native_name": "Occitan",- "lang_code_iso_639_1": "oc",- "lang_code_iso_639_2": "oci",- "country_code": "fr",- "slug": "oci",- "plural_expression": "n > 1",- "wp_locale": "oci"+ "arq": {+ "name": "Algerian Arabic",+ "nativeName": "الدارجة الجزايرية",+ "langCodeIso_639_1": "ar",+ "countryCode": "dz",+ "slug": "arq",+ "pluralExpression": "(n == 0) ? 0 : ((n == 1) ? 1 : ((n == 2) ? 2 : ((n % 100 >= 3 && n % 100 <= 10) ? 3 : ((n % 100 >= 11 && n % 100 <= 99) ? 4 : 5))))",+ "textDirection": "rtl",+ "wpLocale": "arq",+ "code": "arq",+ "translated": 0},- "ory": {- "english_name": "Oriya",- "native_name": "ଓଡ଼ିଆ",- "lang_code_iso_639_1": "or",- "lang_code_iso_639_2": "ory",- "country_code": "in",- "slug": "ory",- "facebook_locale": "or_IN",- "wp_locale": "ory"+ "am": {+ "name": "Amharic",+ "nativeName": "አማርኛ",+ "langCodeIso_639_1": "am",+ "langCodeIso_639_2": "amh",+ "countryCode": "et",+ "slug": "am",+ "facebookLocale": "am_ET",+ "wpLocale": "am",+ "code": "am",+ "translated": 0},- "os": {- "english_name": "Ossetic",- "native_name": "Ирон",- "lang_code_iso_639_1": "os",- "lang_code_iso_639_2": "oss",- "slug": "os",- "wp_locale": "os"- },- "pa_IN": {- "english_name": "Panjabi (India)",- "native_name": "ਪੰਜਾਬੀ",- "lang_code_iso_639_1": "pa",- "lang_code_iso_639_2": "pan",- "country_code": "in",- "slug": "pa",- "plural_expression": "n > 1",- "google_code": "pa",- "facebook_locale": "pa_IN",- "wp_locale": "pa_IN"- },- "pa_PK": {- "english_name": "Punjabi (Pakistan)",- "native_name": "پنجابی",- "lang_code_iso_639_1": "pa",- "lang_code_iso_639_2": "pan",- "country_code": "pk",- "slug": "pa-pk",- "plural_expression": "n > 1",- "google_code": "pa",- "wp_locale": "pa_PK"+ "arg": {+ "name": "Aragonese",+ "nativeName": "Aragonés",+ "langCodeIso_639_1": "an",+ "langCodeIso_639_2": "arg",+ "countryCode": "es",+ "slug": "an",+ "wpLocale": "arg",+ "code": "an",+ "translated": 0},- "pap_CW": {- "english_name": "Papiamento (Curaçao and Bonaire)",- "native_name": "Papiamentu",- "lang_code_iso_639_2": "pap",- "country_code": "cw",- "slug": "pap-cw",- "wp_locale": "pap_CW"+ "hy": {+ "name": "Armenian",+ "nativeName": "Հայերեն",+ "langCodeIso_639_1": "hy",+ "langCodeIso_639_2": "hye",+ "countryCode": "am",+ "slug": "hy",+ "googleCode": "hy",+ "facebookLocale": "hy_AM",+ "wpLocale": "hy",+ "code": "hy",+ "translated": 0},- "pap_AW": {- "english_name": "Papiamento (Aruba)",- "native_name": "Papiamento",- "lang_code_iso_639_2": "pap",- "country_code": "aw",- "slug": "pap-aw",- "wp_locale": "pap_AW"+ "frp": {+ "name": "Arpitan",+ "nativeName": "Arpitan",+ "countryCode": "fr",+ "slug": "frp",+ "pluralExpression": "n > 1",+ "wpLocale": "frp",+ "code": "frp",+ "translated": 0},- "pcd": {- "english_name": "Picard",- "native_name": "Ch’ti",- "country_code": "fr",- "slug": "pcd",- "plural_expression": "n > 1",- "wp_locale": "pcd"+ "as": {+ "name": "Assamese",+ "nativeName": "অসমীয়া",+ "langCodeIso_639_1": "as",+ "langCodeIso_639_2": "asm",+ "countryCode": "in",+ "slug": "as",+ "facebookLocale": "as_IN",+ "wpLocale": "as",+ "code": "as",+ "translated": 0},- "pcm": {- "english_name": "Nigerian Pidgin",- "native_name": "Nigerian Pidgin",- "country_code": "ng",- "slug": "pcm",- "wp_locale": "pcm"+ "ast": {+ "name": "Asturian",+ "nativeName": "Asturianu",+ "langCodeIso_639_2": "ast",+ "countryCode": "es",+ "slug": "ast",+ "wpLocale": "ast",+ "code": "ast",+ "translated": 0},- "art_xpirate": {- "english_name": "English (Pirate)",- "native_name": "English (Pirate)",- "lang_code_iso_639_2": "art",- "slug": "pirate",- "google_code": "xx-pirate",- "facebook_locale": "en_PI",- "wp_locale": "art_xpirate"+ "az": {+ "name": "Azerbaijani",+ "nativeName": "Azərbaycan dili",+ "langCodeIso_639_1": "az",+ "langCodeIso_639_2": "aze",+ "countryCode": "az",+ "slug": "az",+ "googleCode": "az",+ "facebookLocale": "az_AZ",+ "wpLocale": "az",+ "code": "az",+ "translated": 0},- "pl_PL": {- "english_name": "Polish",- "native_name": "Polski",- "lang_code_iso_639_1": "pl",- "lang_code_iso_639_2": "pol",- "country_code": "pl",- "slug": "pl",- "plural_expression": "(n == 1) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",- "google_code": "pl",- "facebook_locale": "pl_PL",- "wp_locale": "pl_PL"+ "bcc": {+ "name": "Balochi Southern",+ "nativeName": "بلوچی مکرانی",+ "countryCode": "pk",+ "slug": "bcc",+ "pluralExpression": "0",+ "textDirection": "rtl",+ "wpLocale": "bcc",+ "code": "bcc",+ "translated": 0},- "pt_PT": {- "english_name": "Portuguese (Portugal)",- "native_name": "Português",- "lang_code_iso_639_1": "pt",- "country_code": "pt",- "slug": "pt",- "google_code": "pt-PT",- "facebook_locale": "pt_PT",- "wp_locale": "pt_PT"- },- "pt_PT_ao90": {- "english_name": "Portuguese (Portugal, AO90)",- "native_name": "Português (AO90)",- "lang_code_iso_639_1": "pt",- "country_code": "pt",- "slug": "pt-ao90",- "google_code": "pt-PT",- "wp_locale": "pt_PT_ao90"+ "bre": {+ "name": "Breton",+ "nativeName": "Brezhoneg",+ "langCodeIso_639_1": "br",+ "langCodeIso_639_2": "bre",+ "countryCode": "fr",+ "slug": "br",+ "pluralExpression": "n > 1",+ "facebookLocale": "br_FR",+ "wpLocale": "bre",+ "code": "br",+ "translated": 0},- "pt_AO": {- "english_name": "Portuguese (Angola)",- "native_name": "Português de Angola",- "lang_code_iso_639_1": "pt",- "country_code": "ao",- "slug": "pt-ao",- "wp_locale": "pt_AO"+ "ba": {+ "name": "Bashkir",+ "nativeName": "башҡорт теле",+ "langCodeIso_639_1": "ba",+ "langCodeIso_639_2": "bak",+ "slug": "ba",+ "wpLocale": "ba",+ "code": "ba",+ "translated": 0},- "pt_BR": {- "english_name": "Portuguese (Brazil)",- "native_name": "Português do Brasil",- "lang_code_iso_639_1": "pt",- "lang_code_iso_639_2": "por",- "country_code": "br",- "slug": "pt-br",- "plural_expression": "n > 1",- "google_code": "pt-BR",- "facebook_locale": "pt_BR",- "wp_locale": "pt_BR"+ "eu": {+ "name": "Basque",+ "nativeName": "Euskara",+ "langCodeIso_639_1": "eu",+ "langCodeIso_639_2": "eus",+ "countryCode": "es",+ "slug": "eu",+ "googleCode": "eu",+ "facebookLocale": "eu_ES",+ "wpLocale": "eu",+ "code": "eu",+ "translated": 0},- "ps": {- "english_name": "Pashto",- "native_name": "پښتو",- "lang_code_iso_639_1": "ps",- "lang_code_iso_639_2": "pus",- "country_code": "af",- "slug": "ps",- "facebook_locale": "ps_AF",- "text_direction": "rtl",- "wp_locale": "ps"+ "bel": {+ "name": "Belarusian",+ "nativeName": "Беларуская мова",+ "langCodeIso_639_1": "be",+ "langCodeIso_639_2": "bel",+ "countryCode": "by",+ "slug": "bel",+ "pluralExpression": "(n % 10 == 1 && n % 100 != 11) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",+ "googleCode": "be",+ "facebookLocale": "be_BY",+ "wpLocale": "bel",+ "code": "bel",+ "translated": 0},- "rhg": {- "english_name": "Rohingya",- "native_name": "Ruáinga",- "country_code": "mm",- "slug": "rhg",- "plural_expression": "0",- "wp_locale": "rhg"+ "bn_BD": {+ "name": "Bengali (Bangladesh)",+ "nativeName": "বাংলা",+ "langCodeIso_639_1": "bn",+ "countryCode": "bd",+ "slug": "bn",+ "googleCode": "bn",+ "wpLocale": "bn_BD",+ "code": "bn",+ "translated": 0},- "ro_RO": {- "english_name": "Romanian",- "native_name": "Română",- "lang_code_iso_639_1": "ro",- "lang_code_iso_639_2": "ron",- "country_code": "ro",- "slug": "ro",- "plural_expression": "(n == 1) ? 0 : ((n == 0 || n % 100 >= 2 && n % 100 <= 19) ? 1 : 2)",- "google_code": "ro",- "facebook_locale": "ro_RO",- "wp_locale": "ro_RO"+ "bn_IN": {+ "name": "Bengali (India)",+ "nativeName": "বাংলা (ভারত)",+ "langCodeIso_639_1": "bn",+ "countryCode": "in",+ "slug": "bn-in",+ "pluralExpression": "n > 1",+ "googleCode": "bn",+ "facebookLocale": "bn_IN",+ "wpLocale": "bn_IN",+ "code": "bn-in",+ "translated": 0},- "roh": {- "english_name": "Romansh",- "native_name": "Rumantsch",- "lang_code_iso_639_1": "rm",- "lang_code_iso_639_2": "roh",- "country_code": "ch",- "slug": "roh",- "wp_locale": "roh"+ "bho": {+ "name": "Bhojpuri",+ "nativeName": "भोजपुरी",+ "countryCode": "in",+ "slug": "bho",+ "wpLocale": "bho",+ "code": "bho",+ "translated": 0},- "ru_RU": {- "english_name": "Russian",- "native_name": "Русский",- "lang_code_iso_639_1": "ru",- "lang_code_iso_639_2": "rus",- "country_code": "ru",- "slug": "ru",- "plural_expression": "(n % 10 == 1 && n % 100 != 11) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",- "google_code": "ru",- "facebook_locale": "ru_RU",- "wp_locale": "ru_RU"+ "brx": {+ "name": "Bodo",+ "nativeName": "बोडो",+ "countryCode": "in",+ "slug": "brx",+ "wpLocale": "brx",+ "code": "brx",+ "translated": 0},- "sah": {- "english_name": "Sakha",- "native_name": "Сахалыы",- "lang_code_iso_639_2": "sah",- "country_code": "ru",- "slug": "sah",- "wp_locale": "sah"+ "gax": {+ "name": "Borana-Arsi-Guji Oromo",+ "nativeName": "Afaan Oromoo",+ "countryCode": "et",+ "slug": "gax",+ "pluralExpression": "n > 1",+ "wpLocale": "gax",+ "code": "gax",+ "translated": 0},- "sa_IN": {- "english_name": "Sanskrit",- "native_name": "भारतम्",- "lang_code_iso_639_1": "sa",- "lang_code_iso_639_2": "san",- "country_code": "in",- "slug": "sa-in",- "facebook_locale": "sa_IN",- "wp_locale": "sa_IN"+ "bs_BA": {+ "name": "Bosnian",+ "nativeName": "Bosanski",+ "langCodeIso_639_1": "bs",+ "langCodeIso_639_2": "bos",+ "countryCode": "ba",+ "slug": "bs",+ "pluralExpression": "(n % 10 == 1 && n % 100 != 11) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",+ "googleCode": "bs",+ "facebookLocale": "bs_BA",+ "wpLocale": "bs_BA",+ "code": "bs",+ "translated": 0},- "scn": {- "english_name": "Sicilian",- "native_name": "Sicilianu",- "country_code": "it",- "slug": "scn",- "wp_locale": "scn"+ "fur": {+ "name": "Friulian",+ "nativeName": "Friulian",+ "langCodeIso_639_2": "fur",+ "countryCode": "it",+ "slug": "fur",+ "wpLocale": "fur",+ "code": "fur",+ "translated": 0},- "si_LK": {- "english_name": "Sinhala",- "native_name": "සිංහල",- "lang_code_iso_639_1": "si",- "lang_code_iso_639_2": "sin",- "country_code": "lk",- "slug": "si",- "google_code": "si",- "facebook_locale": "si_LK",- "wp_locale": "si_LK"+ "ka_GE": {+ "name": "Georgian",+ "nativeName": "ქართული",+ "langCodeIso_639_1": "ka",+ "langCodeIso_639_2": "kat",+ "countryCode": "ge",+ "slug": "ka",+ "pluralExpression": "0",+ "googleCode": "ka",+ "facebookLocale": "ka_GE",+ "wpLocale": "ka_GE",+ "code": "ka",+ "translated": 0},- "sk_SK": {- "english_name": "Slovak",- "native_name": "Slovenčina",- "lang_code_iso_639_1": "sk",- "lang_code_iso_639_2": "slk",- "country_code": "sk",- "slug": "sk",- "plural_expression": "(n == 1) ? 0 : ((n >= 2 && n <= 4) ? 1 : 2)",- "google_code": "sk",- "facebook_locale": "sk_SK",- "wp_locale": "sk_SK"+ "mfe": {+ "name": "Mauritian Creole",+ "nativeName": "Kreol Morisien",+ "countryCode": "mu",+ "slug": "mfe",+ "pluralExpression": "0",+ "wpLocale": "mfe",+ "code": "mfe",+ "translated": 0},- "skr": {- "english_name": "Saraiki",- "native_name": "سرائیکی",- "country_code": "pk",- "slug": "skr",- "plural_expression": "n > 1",- "text_direction": "rtl",- "wp_locale": "skr"+ "lt_LT": {+ "name": "Lithuanian",+ "nativeName": "Lietuvių kalba",+ "langCodeIso_639_1": "lt",+ "langCodeIso_639_2": "lit",+ "countryCode": "lt",+ "slug": "lt",+ "pluralExpression": "(n % 10 == 1 && (n % 100 < 11 || n % 100 > 19)) ? 0 : ((n % 10 >= 2 && n % 10 <= 9 && (n % 100 < 11 || n % 100 > 19)) ? 1 : 2)",+ "googleCode": "lt",+ "facebookLocale": "lt_LT",+ "wpLocale": "lt_LT",+ "code": "lt",+ "translated": 0},- "sl_SI": {- "english_name": "Slovenian",- "native_name": "Slovenščina",- "lang_code_iso_639_1": "sl",- "lang_code_iso_639_2": "slv",- "country_code": "si",- "slug": "sl",- "plural_expression": "(n % 100 == 1) ? 0 : ((n % 100 == 2) ? 1 : ((n % 100 == 3 || n % 100 == 4) ? 2 : 3))",- "google_code": "sl",- "facebook_locale": "sl_SI",- "wp_locale": "sl_SI"+ "ckb": {+ "name": "Kurdish (Sorani)",+ "nativeName": "كوردی",+ "langCodeIso_639_1": "ku",+ "countryCode": "iq",+ "slug": "ckb",+ "facebookLocale": "cb_IQ",+ "textDirection": "rtl",+ "wpLocale": "ckb",+ "code": "ckb",+ "translated": 0},- "sna": {- "english_name": "Shona",- "native_name": "ChiShona",- "lang_code_iso_639_1": "sn",- "country_code": "zw",- "slug": "sna",- "wp_locale": "sna"+ "kir": {+ "name": "Kyrgyz",+ "nativeName": "Кыргызча",+ "langCodeIso_639_1": "ky",+ "langCodeIso_639_2": "kir",+ "countryCode": "kg",+ "slug": "kir",+ "pluralExpression": "0",+ "googleCode": "ky",+ "wpLocale": "kir",+ "code": "kir",+ "translated": 0},- "snd": {- "english_name": "Sindhi",- "native_name": "سنڌي",- "lang_code_iso_639_1": "sd",- "lang_code_iso_639_2": "snd",- "country_code": "pk",- "slug": "snd",- "text_direction": "rtl",- "wp_locale": "snd"+ "lo": {+ "name": "Lao",+ "nativeName": "ພາສາລາວ",+ "langCodeIso_639_1": "lo",+ "langCodeIso_639_2": "lao",+ "countryCode": "la",+ "slug": "lo",+ "pluralExpression": "0",+ "googleCode": "lo",+ "facebookLocale": "lo_LA",+ "wpLocale": "lo",+ "code": "lo",+ "translated": 0},- "so_SO": {- "english_name": "Somali",- "native_name": "Afsoomaali",- "lang_code_iso_639_1": "so",- "lang_code_iso_639_2": "som",- "country_code": "so",- "slug": "so",- "google_code": "so",- "facebook_locale": "so_SO",- "wp_locale": "so_SO"+ "lv": {+ "name": "Latvian",+ "nativeName": "Latviešu valoda",+ "langCodeIso_639_1": "lv",+ "langCodeIso_639_2": "lav",+ "countryCode": "lv",+ "slug": "lv",+ "pluralExpression": "(n % 10 == 0 || n % 100 >= 11 && n % 100 <= 19) ? 0 : ((n % 10 == 1 && n % 100 != 11) ? 1 : 2)",+ "googleCode": "lv",+ "facebookLocale": "lv_LV",+ "wpLocale": "lv",+ "code": "lv",+ "translated": 0},- "sq": {- "english_name": "Albanian",- "native_name": "Shqip",- "lang_code_iso_639_1": "sq",- "lang_code_iso_639_2": "sqi",- "country_code": "al",- "slug": "sq",- "google_code": "sq",- "facebook_locale": "sq_AL",- "wp_locale": "sq"+ "lij": {+ "name": "Ligurian",+ "nativeName": "Lìgure",+ "countryCode": "it",+ "slug": "lij",+ "wpLocale": "lij",+ "code": "lij",+ "translated": 0},- "sq_XK": {- "english_name": "Shqip (Kosovo)",- "native_name": "Për Kosovën Shqip",- "lang_code_iso_639_1": "sq",- "country_code": "xk",- "slug": "sq-xk",- "wp_locale": "sq_XK"+ "li": {+ "name": "Limburgish",+ "nativeName": "Limburgs",+ "langCodeIso_639_1": "li",+ "langCodeIso_639_2": "lim",+ "countryCode": "nl",+ "slug": "li",+ "facebookLocale": "li_NL",+ "wpLocale": "li",+ "code": "li",+ "translated": 0},- "sr_RS": {- "english_name": "Serbian",- "native_name": "Српски језик",- "lang_code_iso_639_1": "sr",- "lang_code_iso_639_2": "srp",- "country_code": "rs",- "slug": "sr",- "plural_expression": "(n % 10 == 1 && n % 100 != 11) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",- "google_code": "sr",- "facebook_locale": "sr_RS",- "wp_locale": "sr_RS"+ "lin": {+ "name": "Lingala",+ "nativeName": "Ngala",+ "langCodeIso_639_1": "ln",+ "langCodeIso_639_2": "lin",+ "countryCode": "cd",+ "slug": "lin",+ "pluralExpression": "n > 1",+ "facebookLocale": "ln_CD",+ "wpLocale": "lin",+ "code": "lin",+ "translated": 0},- "srd": {- "english_name": "Sardinian",- "native_name": "Sardu",- "lang_code_iso_639_1": "sc",- "lang_code_iso_639_2": "srd",- "country_code": "it",- "slug": "srd",- "facebook_locale": "sc_IT",- "wp_locale": "srd"+ "lmo": {+ "name": "Lombard",+ "nativeName": "Lombardo",+ "countryCode": "it",+ "slug": "lmo",+ "wpLocale": "lmo",+ "code": "lmo",+ "translated": 0},- "ssw": {- "english_name": "Swati",- "native_name": "SiSwati",- "lang_code_iso_639_1": "ss",- "lang_code_iso_639_2": "ssw",- "country_code": "sz",- "slug": "ssw",- "wp_locale": "ssw"+ "ko_KR": {+ "name": "Korean",+ "nativeName": "한국어",+ "langCodeIso_639_1": "ko",+ "langCodeIso_639_2": "kor",+ "countryCode": "kr",+ "slug": "ko",+ "pluralExpression": "0",+ "googleCode": "ko",+ "facebookLocale": "ko_KR",+ "wpLocale": "ko_KR",+ "code": "ko",+ "translated": 0},- "su_ID": {- "english_name": "Sundanese",- "native_name": "Basa Sunda",- "lang_code_iso_639_1": "su",- "lang_code_iso_639_2": "sun",- "country_code": "id",- "slug": "su",- "plural_expression": "0",- "google_code": "su",- "wp_locale": "su_ID"+ "dsb": {+ "name": "Lower Sorbian",+ "nativeName": "Dolnoserbšćina",+ "langCodeIso_639_2": "dsb",+ "countryCode": "de",+ "slug": "dsb",+ "pluralExpression": "(n % 100 == 1) ? 0 : ((n % 100 == 2) ? 1 : ((n % 100 == 3 || n % 100 == 4) ? 2 : 3))",+ "wpLocale": "dsb",+ "code": "dsb",+ "translated": 0},- "sv_SE": {- "english_name": "Swedish",- "native_name": "Svenska",- "lang_code_iso_639_1": "sv",- "lang_code_iso_639_2": "swe",- "country_code": "se",- "slug": "sv",- "google_code": "sv",- "facebook_locale": "sv_SE",- "wp_locale": "sv_SE"+ "lb_LU": {+ "name": "Luxembourgish",+ "nativeName": "Lëtzebuergesch",+ "langCodeIso_639_1": "lb",+ "countryCode": "lu",+ "slug": "lb",+ "wpLocale": "lb_LU",+ "code": "lb",+ "translated": 0},- "sw": {- "english_name": "Swahili",- "native_name": "Kiswahili",- "lang_code_iso_639_1": "sw",- "lang_code_iso_639_2": "swa",- "slug": "sw",- "google_code": "sw",- "facebook_locale": "sw_KE",- "wp_locale": "sw"+ "mk_MK": {+ "name": "Macedonian",+ "nativeName": "Македонски јазик",+ "langCodeIso_639_1": "mk",+ "langCodeIso_639_2": "mkd",+ "countryCode": "mk",+ "slug": "mk",+ "pluralExpression": "n % 10 != 1 || n % 100 == 11",+ "googleCode": "mk",+ "facebookLocale": "mk_MK",+ "wpLocale": "mk_MK",+ "code": "mk",+ "translated": 0},- "syr": {- "english_name": "Syriac",- "native_name": "Syriac",- "country_code": "iq",- "slug": "syr",- "wp_locale": "syr"+ "mai": {+ "name": "Maithili",+ "nativeName": "मैथिली",+ "langCodeIso_639_2": "mai",+ "countryCode": "in",+ "slug": "mai",+ "wpLocale": "mai",+ "code": "mai",+ "translated": 0},- "szl": {- "english_name": "Silesian",- "native_name": "Ślōnskŏ gŏdka",- "country_code": "pl",- "slug": "szl",- "plural_expression": "(n==1 ? 0 : n%10>=2 && n%10<=4 && n%100==20 ? 1 : 2)",- "facebook_locale": "sz_PL",- "wp_locale": "szl"+ "mg_MG": {+ "name": "Malagasy",+ "nativeName": "Malagasy",+ "langCodeIso_639_1": "mg",+ "langCodeIso_639_2": "mlg",+ "countryCode": "mg",+ "slug": "mg",+ "googleCode": "mg",+ "facebookLocale": "mg_MG",+ "wpLocale": "mg_MG",+ "code": "mg",+ "translated": 0},- "ta_IN": {- "english_name": "Tamil",- "native_name": "தமிழ்",- "lang_code_iso_639_1": "ta",- "lang_code_iso_639_2": "tam",- "country_code": "in",- "slug": "ta",- "google_code": "ta",- "facebook_locale": "ta_IN",- "wp_locale": "ta_IN"+ "ms_MY": {+ "name": "Malay",+ "nativeName": "Bahasa Melayu",+ "langCodeIso_639_1": "ms",+ "langCodeIso_639_2": "msa",+ "slug": "ms",+ "pluralExpression": "0",+ "googleCode": "ms",+ "facebookLocale": "ms_MY",+ "wpLocale": "ms_MY",+ "code": "ms",+ "translated": 0},- "ta_LK": {- "english_name": "Tamil (Sri Lanka)",- "native_name": "தமிழ்",- "lang_code_iso_639_1": "ta",- "lang_code_iso_639_2": "tam",- "country_code": "lk",- "slug": "ta-lk",- "google_code": "ta",- "wp_locale": "ta_LK"+ "ml_IN": {+ "name": "Malayalam",+ "nativeName": "മലയാളം",+ "langCodeIso_639_1": "ml",+ "langCodeIso_639_2": "mal",+ "countryCode": "in",+ "slug": "ml",+ "googleCode": "ml",+ "facebookLocale": "ml_IN",+ "wpLocale": "ml_IN",+ "code": "ml",+ "translated": 0},- "tah": {- "english_name": "Tahitian",- "native_name": "Reo Tahiti",- "lang_code_iso_639_1": "ty",- "lang_code_iso_639_2": "tah",- "country_code": "pf",- "slug": "tah",- "plural_expression": "n > 1",- "wp_locale": "tah"+ "mri": {+ "name": "Maori",+ "nativeName": "Te Reo Māori",+ "langCodeIso_639_1": "mi",+ "countryCode": "nz",+ "slug": "mri",+ "pluralExpression": "n > 1",+ "googleCode": "mi",+ "wpLocale": "mri",+ "code": "mri",+ "translated": 0},- "te": {- "english_name": "Telugu",- "native_name": "తెలుగు",- "lang_code_iso_639_1": "te",- "lang_code_iso_639_2": "tel",- "slug": "te",- "google_code": "te",- "facebook_locale": "te_IN",- "wp_locale": "te"+ "mr": {+ "name": "Marathi",+ "nativeName": "मराठी",+ "langCodeIso_639_1": "mr",+ "langCodeIso_639_2": "mar",+ "slug": "mr",+ "googleCode": "mr",+ "facebookLocale": "mr_IN",+ "wpLocale": "mr",+ "code": "mr",+ "translated": 0},- "tg": {- "english_name": "Tajik",- "native_name": "Тоҷикӣ",- "lang_code_iso_639_1": "tg",- "lang_code_iso_639_2": "tgk",- "country_code": "tj",- "slug": "tg",- "google_code": "tg",- "facebook_locale": "tg_TJ",- "wp_locale": "tg"+ "kmr": {+ "name": "Kurdish (Kurmanji)",+ "nativeName": "Kurdî",+ "langCodeIso_639_1": "ku",+ "countryCode": "tr",+ "slug": "kmr",+ "facebookLocale": "ku_TR",+ "wpLocale": "kmr",+ "code": "kmr",+ "translated": 0},- "th": {- "english_name": "Thai",- "native_name": "ไทย",- "lang_code_iso_639_1": "th",- "lang_code_iso_639_2": "tha",- "slug": "th",- "plural_expression": "0",- "google_code": "th",- "facebook_locale": "th_TH",- "wp_locale": "th"+ "kin": {+ "name": "Kinyarwanda",+ "nativeName": "Ikinyarwanda",+ "langCodeIso_639_1": "rw",+ "langCodeIso_639_2": "kin",+ "countryCode": "rw",+ "slug": "kin",+ "facebookLocale": "rw_RW",+ "wpLocale": "kin",+ "code": "kin",+ "translated": 0},- "tir": {- "english_name": "Tigrinya",- "native_name": "ትግርኛ",- "lang_code_iso_639_1": "ti",- "lang_code_iso_639_2": "tir",- "country_code": "er",- "slug": "tir",- "plural_expression": "0",- "wp_locale": "tir"+ "de_AT": {+ "name": "German (Austria)",+ "nativeName": "Deutsch (Österreich)",+ "langCodeIso_639_1": "de",+ "countryCode": "de",+ "slug": "de-at",+ "googleCode": "de",+ "wpLocale": "de_AT",+ "code": "de-at",+ "translated": 0},- "tl": {- "english_name": "Tagalog",- "native_name": "Tagalog",- "lang_code_iso_639_1": "tl",- "lang_code_iso_639_2": "tgl",- "country_code": "ph",- "slug": "tl",- "google_code": "tl",- "facebook_locale": "tl_PH",- "wp_locale": "tl"+ "he_IL": {+ "name": "Hebrew",+ "nativeName": "עִבְרִית",+ "langCodeIso_639_1": "he",+ "countryCode": "il",+ "slug": "he",+ "googleCode": "iw",+ "facebookLocale": "he_IL",+ "textDirection": "rtl",+ "wpLocale": "he_IL",+ "code": "he",+ "translated": 0},- "tr_TR": {- "english_name": "Turkish",- "native_name": "Türkçe",- "lang_code_iso_639_1": "tr",- "lang_code_iso_639_2": "tur",- "country_code": "tr",- "slug": "tr",- "plural_expression": "n > 1",- "google_code": "tr",- "facebook_locale": "tr_TR",- "wp_locale": "tr_TR"+ "de_CH": {+ "name": "German (Switzerland)",+ "nativeName": "Deutsch (Schweiz)",+ "langCodeIso_639_1": "de",+ "countryCode": "ch",+ "slug": "de-ch",+ "googleCode": "de",+ "wpLocale": "de_CH",+ "code": "de-ch",+ "translated": 0},- "tt_RU": {- "english_name": "Tatar",- "native_name": "Татар теле",- "lang_code_iso_639_1": "tt",- "lang_code_iso_639_2": "tat",- "country_code": "ru",- "slug": "tt",- "plural_expression": "0",- "facebook_locale": "tt_RU",- "wp_locale": "tt_RU"+ "el": {+ "name": "Greek",+ "nativeName": "Ελληνικά",+ "langCodeIso_639_1": "el",+ "langCodeIso_639_2": "ell",+ "countryCode": "gr",+ "slug": "el",+ "googleCode": "el",+ "facebookLocale": "el_GR",+ "wpLocale": "el",+ "code": "el",+ "translated": 0},- "tuk": {- "english_name": "Turkmen",- "native_name": "Türkmençe",- "lang_code_iso_639_1": "tk",- "lang_code_iso_639_2": "tuk",- "country_code": "tm",- "slug": "tuk",- "plural_expression": "n > 1",- "facebook_locale": "tk_TM",- "wp_locale": "tuk"+ "kal": {+ "name": "Greenlandic",+ "nativeName": "Kalaallisut",+ "langCodeIso_639_1": "kl",+ "langCodeIso_639_2": "kal",+ "countryCode": "gl",+ "slug": "kal",+ "wpLocale": "kal",+ "code": "kal",+ "translated": 0},- "twd": {- "english_name": "Tweants",- "native_name": "Twents",- "country_code": "nl",- "slug": "twd",- "wp_locale": "twd"+ "gu": {+ "name": "Gujarati",+ "nativeName": "ગુજરાતી",+ "langCodeIso_639_1": "gu",+ "langCodeIso_639_2": "guj",+ "slug": "gu",+ "googleCode": "gu",+ "facebookLocale": "gu_IN",+ "wpLocale": "gu",+ "code": "gu",+ "translated": 0},- "tzm": {- "english_name": "Tamazight (Central Atlas)",- "native_name": "ⵜⴰⵎⴰⵣⵉⵖⵜ",- "lang_code_iso_639_2": "tzm",- "country_code": "ma",- "slug": "tzm",- "plural_expression": "n > 1",- "wp_locale": "tzm"+ "hat": {+ "name": "Haitian Creole",+ "nativeName": "Kreyol ayisyen",+ "langCodeIso_639_1": "ht",+ "langCodeIso_639_2": "hat",+ "countryCode": "ht",+ "slug": "hat",+ "wpLocale": "hat",+ "code": "hat",+ "translated": 0},- "ug_CN": {- "english_name": "Uighur",- "native_name": "ئۇيغۇرچە",- "lang_code_iso_639_1": "ug",- "lang_code_iso_639_2": "uig",- "country_code": "cn",- "slug": "ug",- "text_direction": "rtl",- "wp_locale": "ug_CN"+ "hau": {+ "name": "Hausa",+ "nativeName": "Harshen Hausa",+ "langCodeIso_639_1": "ha",+ "langCodeIso_639_2": "hau",+ "countryCode": "ng",+ "slug": "hau",+ "googleCode": "ha",+ "facebookLocale": "ha_NG",+ "wpLocale": "hau",+ "code": "hau",+ "translated": 0},- "uk": {- "english_name": "Ukrainian",- "native_name": "Українська",- "lang_code_iso_639_1": "uk",- "lang_code_iso_639_2": "ukr",- "country_code": "ua",- "slug": "uk",- "plural_expression": "(n % 10 == 1 && n % 100 != 11) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",- "google_code": "uk",- "facebook_locale": "uk_UA",- "wp_locale": "uk"+ "haw_US": {+ "name": "Hawaiian",+ "nativeName": "Ōlelo Hawaiʻi",+ "langCodeIso_639_2": "haw",+ "countryCode": "us",+ "slug": "haw",+ "wpLocale": "haw_US",+ "code": "haw",+ "translated": 0},- "ur": {- "english_name": "Urdu",- "native_name": "اردو",- "lang_code_iso_639_1": "ur",- "lang_code_iso_639_2": "urd",- "country_code": "pk",- "slug": "ur",- "google_code": "ur",- "facebook_locale": "ur_PK",- "text_direction": "rtl",- "wp_locale": "ur"+ "haz": {+ "name": "Hazaragi",+ "nativeName": "هزاره گی",+ "countryCode": "af",+ "slug": "haz",+ "textDirection": "rtl",+ "wpLocale": "haz",+ "code": "haz",+ "translated": 0},- "uz_UZ": {- "english_name": "Uzbek",- "native_name": "O‘zbekcha",- "lang_code_iso_639_1": "uz",- "lang_code_iso_639_2": "uzb",- "country_code": "uz",- "slug": "uz",- "plural_expression": "0",- "google_code": "uz",- "facebook_locale": "uz_UZ",- "wp_locale": "uz_UZ"+ "hi_IN": {+ "name": "Hindi",+ "nativeName": "हिन्दी",+ "langCodeIso_639_1": "hi",+ "langCodeIso_639_2": "hin",+ "countryCode": "in",+ "slug": "hi",+ "googleCode": "hi",+ "facebookLocale": "hi_IN",+ "wpLocale": "hi_IN",+ "code": "hi",+ "translated": 0},- "vec": {- "english_name": "Venetian",- "native_name": "Vèneto",- "lang_code_iso_639_2": "roa",- "country_code": "it",- "slug": "vec",- "wp_locale": "vec"+ "km": {+ "name": "Khmer",+ "nativeName": "ភាសាខ្មែរ",+ "langCodeIso_639_1": "km",+ "langCodeIso_639_2": "khm",+ "countryCode": "kh",+ "slug": "km",+ "pluralExpression": "0",+ "googleCode": "km",+ "facebookLocale": "km_KH",+ "wpLocale": "km",+ "code": "km",+ "translated": 0},- "vi": {- "english_name": "Vietnamese",- "native_name": "Tiếng Việt",- "lang_code_iso_639_1": "vi",- "lang_code_iso_639_2": "vie",- "country_code": "vn",- "slug": "vi",- "plural_expression": "0",- "google_code": "vi",- "facebook_locale": "vi_VN",- "wp_locale": "vi"+ "hu_HU": {+ "name": "Hungarian",+ "nativeName": "Magyar",+ "langCodeIso_639_1": "hu",+ "langCodeIso_639_2": "hun",+ "countryCode": "hu",+ "slug": "hu",+ "googleCode": "hu",+ "facebookLocale": "hu_HU",+ "wpLocale": "hu_HU",+ "code": "hu",+ "translated": 0},- "wol": {- "english_name": "Wolof",- "native_name": "Wolof",- "lang_code_iso_639_1": "wo",- "lang_code_iso_639_2": "wol",- "country_code": "sn",- "slug": "wol",- "plural_expression": "0",- "wp_locale": "wol"+ "is_IS": {+ "name": "Icelandic",+ "nativeName": "Íslenska",+ "langCodeIso_639_1": "is",+ "langCodeIso_639_2": "isl",+ "countryCode": "is",+ "slug": "is",+ "pluralExpression": "n % 10 != 1 || n % 100 == 11",+ "googleCode": "is",+ "facebookLocale": "is_IS",+ "wpLocale": "is_IS",+ "code": "is",+ "translated": 0},- "xho": {- "english_name": "Xhosa",- "native_name": "isiXhosa",- "lang_code_iso_639_1": "xh",- "lang_code_iso_639_2": "xho",- "country_code": "za",- "slug": "xho",- "google_code": "xh",- "facebook_locale": "xh_ZA",- "wp_locale": "xho"+ "ido": {+ "name": "Ido",+ "nativeName": "Ido",+ "langCodeIso_639_1": "io",+ "langCodeIso_639_2": "ido",+ "slug": "ido",+ "wpLocale": "ido",+ "code": "ido",+ "translated": 0},- "yor": {- "english_name": "Yoruba",- "native_name": "Yorùbá",- "lang_code_iso_639_1": "yo",- "lang_code_iso_639_2": "yor",- "country_code": "ng",- "slug": "yor",- "google_code": "yo",- "facebook_locale": "yo_NG",- "wp_locale": "yor"+ "ibo": {+ "name": "Igbo",+ "nativeName": "Asụsụ Igbo",+ "langCodeIso_639_1": "ig",+ "langCodeIso_639_2": "ibo",+ "countryCode": "ng",+ "slug": "ibo",+ "pluralExpression": "0",+ "googleCode": "ig",+ "wpLocale": "ibo",+ "code": "ibo",+ "translated": 0},- "zgh": {- "english_name": "Tamazight",- "native_name": "ⵜⴰⵎⴰⵣⵉⵖⵜ",- "lang_code_iso_639_2": "zgh",- "country_code": "ma",- "slug": "zgh",- "plural_expression": "n >= 2 && (n < 11 || n > 99)",- "wp_locale": "zgh"+ "ga": {+ "name": "Irish",+ "nativeName": "Gaelige",+ "langCodeIso_639_1": "ga",+ "langCodeIso_639_2": "gle",+ "countryCode": "ie",+ "slug": "ga",+ "pluralExpression": "(n == 1) ? 0 : ((n == 2) ? 1 : ((n >= 3 && n <= 6) ? 2 : ((n >= 7 && n <= 10) ? 3 : 4)))",+ "googleCode": "ga",+ "facebookLocale": "ga_IE",+ "wpLocale": "ga",+ "code": "ga",+ "translated": 0},- "zh_CN": {- "english_name": "Chinese (China)",- "native_name": "简体中文",- "lang_code_iso_639_1": "zh",- "lang_code_iso_639_2": "zho",- "country_code": "cn",- "slug": "zh-cn",- "plural_expression": "0",- "google_code": "zh-CN",- "facebook_locale": "zh_CN",- "wp_locale": "zh_CN"+ "jv_ID": {+ "name": "Javanese",+ "nativeName": "Basa Jawa",+ "langCodeIso_639_1": "jv",+ "langCodeIso_639_2": "jav",+ "countryCode": "id",+ "slug": "jv",+ "googleCode": "jw",+ "facebookLocale": "jv_ID",+ "wpLocale": "jv_ID",+ "code": "jv",+ "translated": 0},- "zh_HK": {- "english_name": "Chinese (Hong Kong)",- "native_name": "香港中文版\t",- "lang_code_iso_639_1": "zh",- "lang_code_iso_639_2": "zho",- "country_code": "hk",- "slug": "zh-hk",- "plural_expression": "0",- "facebook_locale": "zh_HK",- "wp_locale": "zh_HK"+ "kab": {+ "name": "Kabyle",+ "nativeName": "Taqbaylit",+ "langCodeIso_639_2": "kab",+ "countryCode": "dz",+ "slug": "kab",+ "pluralExpression": "n > 1",+ "wpLocale": "kab",+ "code": "kab",+ "translated": 0},- "zh_SG": {- "english_name": "Chinese (Singapore)",- "native_name": "中文",- "lang_code_iso_639_1": "zh",- "lang_code_iso_639_2": "zho",- "country_code": "sg",- "slug": "zh-sg",- "plural_expression": "0",- "wp_locale": "zh_SG"+ "kaa": {+ "name": "Karakalpak",+ "nativeName": "Qaraqalpaq tili",+ "langCodeIso_639_2": "kaa",+ "countryCode": "uz",+ "slug": "kaa",+ "wpLocale": "kaa",+ "code": "kaa",+ "translated": 0},- "zh_TW": {- "english_name": "Chinese (Taiwan)",- "native_name": "繁體中文",- "lang_code_iso_639_1": "zh",- "lang_code_iso_639_2": "zho",- "country_code": "tw",- "slug": "zh-tw",- "plural_expression": "0",- "google_code": "zh-TW",- "facebook_locale": "zh_TW",- "wp_locale": "zh_TW"+ "kk": {+ "name": "Kazakh",+ "nativeName": "Қазақ тілі",+ "langCodeIso_639_1": "kk",+ "langCodeIso_639_2": "kaz",+ "countryCode": "kz",+ "slug": "kk",+ "googleCode": "kk",+ "facebookLocale": "kk_KZ",+ "wpLocale": "kk",+ "code": "kk",+ "translated": 0},"zul": {- "english_name": "Zulu",- "native_name": "isiZulu",- "lang_code_iso_639_1": "zu",- "lang_code_iso_639_2": "zul",- "country_code": "za",+ "name": "Zulu",+ "nativeName": "isiZulu",+ "langCodeIso_639_1": "zu",+ "langCodeIso_639_2": "zul",+ "countryCode": "za","slug": "zul",- "google_code": "zu",- "wp_locale": "zul"+ "googleCode": "zu",+ "wpLocale": "zul",+ "code": "zul",+ "translated": 0}}diff --git a/src/locales/scripts/types.d.ts b/src/locales/scripts/types.d.tsnew file mode 100644index 000000000..13f2fbc66--- /dev/null+++ b/src/locales/scripts/types.d.ts@@ -0,0 +1,3 @@+/**+ * @typedef {{ code: string, wpLocale?: string, file?: string, iso?: string, name: string, dir?: string, translated?: number }} i18nLocaleProps+ */diff --git a/src/locales/scripts/untranslated-locales.json b/src/locales/scripts/untranslated-locales.jsonnew file mode 100644index 000000000..edada9f04--- /dev/null+++ b/src/locales/scripts/untranslated-locales.json@@ -0,0 +1,1458 @@+[+ {+ "code": "skr",+ "name": "Saraiki",+ "wpLocale": "skr",+ "dir": "rtl",+ "translated": 0,+ "file": "skr.json"+ },+ {+ "code": "srd",+ "name": "Sardinian",+ "iso": "sc",+ "wpLocale": "srd",+ "dir": "ltr",+ "translated": 0,+ "file": "srd.json"+ },+ {+ "code": "gd",+ "name": "Scottish Gaelic",+ "iso": "gd",+ "wpLocale": "gd",+ "dir": "ltr",+ "translated": 0,+ "file": "gd.json"+ },+ {+ "code": "nb",+ "name": "Norwegian (Bokmål)",+ "iso": "nb",+ "wpLocale": "nb_NO",+ "dir": "ltr",+ "translated": 0,+ "file": "nb.json"+ },+ {+ "code": "scn",+ "name": "Sicilian",+ "wpLocale": "scn",+ "dir": "ltr",+ "translated": 0,+ "file": "scn.json"+ },+ {+ "code": "pcm",+ "name": "Nigerian Pidgin",+ "wpLocale": "pcm",+ "dir": "ltr",+ "translated": 0,+ "file": "pcm.json"+ },+ {+ "code": "sr",+ "name": "Serbian",+ "iso": "sr",+ "wpLocale": "sr_RS",+ "dir": "ltr",+ "translated": 0,+ "file": "sr.json"+ },+ {+ "code": "ne",+ "name": "Nepali",+ "iso": "ne",+ "wpLocale": "ne_NP",+ "dir": "ltr",+ "translated": 0,+ "file": "ne.json"+ },+ {+ "code": "nn",+ "name": "Norwegian (Nynorsk)",+ "iso": "nn",+ "wpLocale": "nn_NO",+ "dir": "ltr",+ "translated": 0,+ "file": "nn.json"+ },+ {+ "code": "szl",+ "name": "Silesian",+ "wpLocale": "szl",+ "dir": "ltr",+ "translated": 0,+ "file": "szl.json"+ },+ {+ "code": "sq-xk",+ "name": "Shqip (Kosovo)",+ "iso": "sq",+ "wpLocale": "sq_XK",+ "dir": "ltr",+ "translated": 0,+ "file": "sq-xk.json"+ },+ {+ "code": "nqo",+ "name": "N’ko",+ "wpLocale": "nqo",+ "dir": "rtl",+ "translated": 0,+ "file": "nqo.json"+ },+ {+ "code": "mya",+ "name": "Myanmar (Burmese)",+ "iso": "my",+ "wpLocale": "my_MM",+ "dir": "ltr",+ "translated": 0,+ "file": "mya.json"+ },+ {+ "code": "sna",+ "name": "Shona",+ "iso": "sn",+ "wpLocale": "sna",+ "dir": "ltr",+ "translated": 0,+ "file": "sna.json"+ },+ {+ "code": "pcd",+ "name": "Picard",+ "wpLocale": "pcd",+ "dir": "ltr",+ "translated": 0,+ "file": "pcd.json"+ },+ {+ "code": "oci",+ "name": "Occitan",+ "iso": "oc",+ "wpLocale": "oci",+ "dir": "ltr",+ "translated": 0,+ "file": "oci.json"+ },+ {+ "code": "si",+ "name": "Sinhala",+ "iso": "si",+ "wpLocale": "si_LK",+ "dir": "ltr",+ "translated": 0,+ "file": "si.json"+ },+ {+ "code": "pl",+ "name": "Polish",+ "iso": "pl",+ "wpLocale": "pl_PL",+ "dir": "ltr",+ "translated": 0,+ "file": "pl.json"+ },+ {+ "code": "pt-ao",+ "name": "Portuguese (Angola)",+ "iso": "pt",+ "wpLocale": "pt_AO",+ "dir": "ltr",+ "translated": 0,+ "file": "pt-ao.json"+ },+ {+ "code": "rhg",+ "name": "Rohingya",+ "wpLocale": "rhg",+ "dir": "ltr",+ "translated": 0,+ "file": "rhg.json"+ },+ {+ "code": "fa-af",+ "name": "Persian (Afghanistan)",+ "iso": "fa",+ "wpLocale": "fa_AF",+ "dir": "rtl",+ "translated": 0,+ "file": "fa-af.json"+ },+ {+ "code": "roh",+ "name": "Romansh",+ "iso": "rm",+ "wpLocale": "roh",+ "dir": "ltr",+ "translated": 0,+ "file": "roh.json"+ },+ {+ "code": "sah",+ "name": "Sakha",+ "wpLocale": "sah",+ "dir": "ltr",+ "translated": 0,+ "file": "sah.json"+ },+ {+ "code": "ory",+ "name": "Oriya",+ "iso": "or",+ "wpLocale": "ory",+ "dir": "ltr",+ "translated": 0,+ "file": "ory.json"+ },+ {+ "code": "fa",+ "name": "Persian",+ "iso": "fa",+ "wpLocale": "fa_IR",+ "dir": "rtl",+ "translated": 0,+ "file": "fa.json"+ },+ {+ "code": "ps",+ "name": "Pashto",+ "iso": "ps",+ "wpLocale": "ps",+ "dir": "rtl",+ "translated": 0,+ "file": "ps.json"+ },+ {+ "code": "pap-aw",+ "name": "Papiamento (Aruba)",+ "wpLocale": "pap_AW",+ "dir": "ltr",+ "translated": 0,+ "file": "pap-aw.json"+ },+ {+ "code": "pap-cw",+ "name": "Papiamento (Curaçao and Bonaire)",+ "wpLocale": "pap_CW",+ "dir": "ltr",+ "translated": 0,+ "file": "pap-cw.json"+ },+ {+ "code": "pirate",+ "name": "English (Pirate)",+ "wpLocale": "art_xpirate",+ "dir": "ltr",+ "translated": 0,+ "file": "pirate.json"+ },+ {+ "code": "os",+ "name": "Ossetic",+ "iso": "os",+ "wpLocale": "os",+ "dir": "ltr",+ "translated": 0,+ "file": "os.json"+ },+ {+ "code": "sa-in",+ "name": "Sanskrit",+ "iso": "sa",+ "wpLocale": "sa_IN",+ "dir": "ltr",+ "translated": 0,+ "file": "sa-in.json"+ },+ {+ "code": "snd",+ "name": "Sindhi",+ "iso": "sd",+ "wpLocale": "snd",+ "dir": "rtl",+ "translated": 0,+ "file": "snd.json"+ },+ {+ "code": "af",+ "name": "Afrikaans",+ "iso": "af",+ "wpLocale": "af",+ "dir": "ltr",+ "translated": 0,+ "file": "af.json"+ },+ {+ "code": "sk",+ "name": "Slovak",+ "iso": "sk",+ "wpLocale": "sk_SK",+ "dir": "ltr",+ "translated": 0,+ "file": "sk.json"+ },+ {+ "code": "uk",+ "name": "Ukrainian",+ "iso": "uk",+ "wpLocale": "uk",+ "dir": "ltr",+ "translated": 0,+ "file": "uk.json"+ },+ {+ "code": "te",+ "name": "Telugu",+ "iso": "te",+ "wpLocale": "te",+ "dir": "ltr",+ "translated": 0,+ "file": "te.json"+ },+ {+ "code": "th",+ "name": "Thai",+ "iso": "th",+ "wpLocale": "th",+ "dir": "ltr",+ "translated": 0,+ "file": "th.json"+ },+ {+ "code": "bo",+ "name": "Tibetan",+ "iso": "bo",+ "wpLocale": "bo",+ "dir": "ltr",+ "translated": 0,+ "file": "bo.json"+ },+ {+ "code": "tir",+ "name": "Tigrinya",+ "iso": "ti",+ "wpLocale": "tir",+ "dir": "ltr",+ "translated": 0,+ "file": "tir.json"+ },+ {+ "code": "tr",+ "name": "Turkish",+ "iso": "tr",+ "wpLocale": "tr_TR",+ "dir": "ltr",+ "translated": 0,+ "file": "tr.json"+ },+ {+ "code": "tuk",+ "name": "Turkmen",+ "iso": "tk",+ "wpLocale": "tuk",+ "dir": "ltr",+ "translated": 0,+ "file": "tuk.json"+ },+ {+ "code": "twd",+ "name": "Tweants",+ "wpLocale": "twd",+ "dir": "ltr",+ "translated": 0,+ "file": "twd.json"+ },+ {+ "code": "ug",+ "name": "Uighur",+ "iso": "ug",+ "wpLocale": "ug_CN",+ "dir": "rtl",+ "translated": 0,+ "file": "ug.json"+ },+ {+ "code": "hsb",+ "name": "Upper Sorbian",+ "wpLocale": "hsb",+ "dir": "ltr",+ "translated": 0,+ "file": "hsb.json"+ },+ {+ "code": "ta-lk",+ "name": "Tamil (Sri Lanka)",+ "iso": "ta",+ "wpLocale": "ta_LK",+ "dir": "ltr",+ "translated": 0,+ "file": "ta-lk.json"+ },+ {+ "code": "ur",+ "name": "Urdu",+ "iso": "ur",+ "wpLocale": "ur",+ "dir": "rtl",+ "translated": 0,+ "file": "ur.json"+ },+ {+ "code": "uz",+ "name": "Uzbek",+ "iso": "uz",+ "wpLocale": "uz_UZ",+ "dir": "ltr",+ "translated": 0,+ "file": "uz.json"+ },+ {+ "code": "vec",+ "name": "Venetian",+ "wpLocale": "vec",+ "dir": "ltr",+ "translated": 0,+ "file": "vec.json"+ },+ {+ "code": "vi",+ "name": "Vietnamese",+ "iso": "vi",+ "wpLocale": "vi",+ "dir": "ltr",+ "translated": 0,+ "file": "vi.json"+ },+ {+ "code": "cy",+ "name": "Welsh",+ "iso": "cy",+ "wpLocale": "cy",+ "dir": "ltr",+ "translated": 0,+ "file": "cy.json"+ },+ {+ "code": "wol",+ "name": "Wolof",+ "iso": "wo",+ "wpLocale": "wol",+ "dir": "ltr",+ "translated": 0,+ "file": "wol.json"+ },+ {+ "code": "xho",+ "name": "Xhosa",+ "iso": "xh",+ "wpLocale": "xho",+ "dir": "ltr",+ "translated": 0,+ "file": "xho.json"+ },+ {+ "code": "yor",+ "name": "Yoruba",+ "iso": "yo",+ "wpLocale": "yor",+ "dir": "ltr",+ "translated": 0,+ "file": "yor.json"+ },+ {+ "code": "tt",+ "name": "Tatar",+ "iso": "tt",+ "wpLocale": "tt_RU",+ "dir": "ltr",+ "translated": 0,+ "file": "tt.json"+ },+ {+ "code": "ta",+ "name": "Tamil",+ "iso": "ta",+ "wpLocale": "ta_IN",+ "dir": "ltr",+ "translated": 0,+ "file": "ta.json"+ },+ {+ "code": "sl",+ "name": "Slovenian",+ "iso": "sl",+ "wpLocale": "sl_SI",+ "dir": "ltr",+ "translated": 0,+ "file": "sl.json"+ },+ {+ "code": "es-pr",+ "name": "Spanish (Puerto Rico)",+ "iso": "es",+ "wpLocale": "es_PR",+ "dir": "ltr",+ "translated": 0,+ "file": "es-pr.json"+ },+ {+ "code": "so",+ "name": "Somali",+ "iso": "so",+ "wpLocale": "so_SO",+ "dir": "ltr",+ "translated": 0,+ "file": "so.json"+ },+ {+ "code": "azb",+ "name": "South Azerbaijani",+ "iso": "az",+ "wpLocale": "azb",+ "dir": "rtl",+ "translated": 0,+ "file": "azb.json"+ },+ {+ "code": "es-cl",+ "name": "Spanish (Chile)",+ "iso": "es",+ "wpLocale": "es_CL",+ "dir": "ltr",+ "translated": 0,+ "file": "es-cl.json"+ },+ {+ "code": "es-cr",+ "name": "Spanish (Costa Rica)",+ "iso": "es",+ "wpLocale": "es_CR",+ "dir": "ltr",+ "translated": 0,+ "file": "es-cr.json"+ },+ {+ "code": "me",+ "name": "Montenegrin",+ "wpLocale": "me_ME",+ "dir": "ltr",+ "translated": 0,+ "file": "me.json"+ },+ {+ "code": "es-gt",+ "name": "Spanish (Guatemala)",+ "iso": "es",+ "wpLocale": "es_GT",+ "dir": "ltr",+ "translated": 0,+ "file": "es-gt.json"+ },+ {+ "code": "es-hn",+ "name": "Spanish (Honduras)",+ "iso": "es",+ "wpLocale": "es_HN",+ "dir": "ltr",+ "translated": 0,+ "file": "es-hn.json"+ },+ {+ "code": "es-pe",+ "name": "Spanish (Peru)",+ "iso": "es",+ "wpLocale": "es_PE",+ "dir": "ltr",+ "translated": 0,+ "file": "es-pe.json"+ },+ {+ "code": "es-uy",+ "name": "Spanish (Uruguay)",+ "iso": "es",+ "wpLocale": "es_UY",+ "dir": "ltr",+ "translated": 0,+ "file": "es-uy.json"+ },+ {+ "code": "tzm",+ "name": "Tamazight (Central Atlas)",+ "wpLocale": "tzm",+ "dir": "ltr",+ "translated": 0,+ "file": "tzm.json"+ },+ {+ "code": "su",+ "name": "Sundanese",+ "iso": "su",+ "wpLocale": "su_ID",+ "dir": "ltr",+ "translated": 0,+ "file": "su.json"+ },+ {+ "code": "sw",+ "name": "Swahili",+ "iso": "sw",+ "wpLocale": "sw",+ "dir": "ltr",+ "translated": 0,+ "file": "sw.json"+ },+ {+ "code": "ssw",+ "name": "Swati",+ "iso": "ss",+ "wpLocale": "ssw",+ "dir": "ltr",+ "translated": 0,+ "file": "ssw.json"+ },+ {+ "code": "syr",+ "name": "Syriac",+ "wpLocale": "syr",+ "dir": "ltr",+ "translated": 0,+ "file": "syr.json"+ },+ {+ "code": "tl",+ "name": "Tagalog",+ "iso": "tl",+ "wpLocale": "tl",+ "dir": "ltr",+ "translated": 0,+ "file": "tl.json"+ },+ {+ "code": "tah",+ "name": "Tahitian",+ "iso": "ty",+ "wpLocale": "tah",+ "dir": "ltr",+ "translated": 0,+ "file": "tah.json"+ },+ {+ "code": "tg",+ "name": "Tajik",+ "iso": "tg",+ "wpLocale": "tg",+ "dir": "ltr",+ "translated": 0,+ "file": "tg.json"+ },+ {+ "code": "zgh",+ "name": "Tamazight",+ "wpLocale": "zgh",+ "dir": "ltr",+ "translated": 0,+ "file": "zgh.json"+ },+ {+ "code": "ary",+ "name": "Moroccan Arabic",+ "iso": "ar",+ "wpLocale": "ary",+ "dir": "rtl",+ "translated": 0,+ "file": "ary.json"+ },+ {+ "code": "lug",+ "name": "Luganda",+ "iso": "lg",+ "wpLocale": "lug",+ "dir": "ltr",+ "translated": 0,+ "file": "lug.json"+ },+ {+ "code": "mn",+ "name": "Mongolian",+ "iso": "mn",+ "wpLocale": "mn",+ "dir": "ltr",+ "translated": 0,+ "file": "mn.json"+ },+ {+ "code": "art-xemoji",+ "name": "Emoji",+ "wpLocale": "art_xemoji",+ "dir": "ltr",+ "translated": 0,+ "file": "art-xemoji.json"+ },+ {+ "code": "ceb",+ "name": "Cebuano",+ "wpLocale": "ceb",+ "dir": "ltr",+ "translated": 0,+ "file": "ceb.json"+ },+ {+ "code": "zh-hk",+ "name": "Chinese (Hong Kong)",+ "iso": "zh",+ "wpLocale": "zh_HK",+ "dir": "ltr",+ "translated": 0,+ "file": "zh-hk.json"+ },+ {+ "code": "zh-sg",+ "name": "Chinese (Singapore)",+ "iso": "zh",+ "wpLocale": "zh_SG",+ "dir": "ltr",+ "translated": 0,+ "file": "zh-sg.json"+ },+ {+ "code": "cor",+ "name": "Cornish",+ "iso": "kw",+ "wpLocale": "cor",+ "dir": "ltr",+ "translated": 0,+ "file": "cor.json"+ },+ {+ "code": "co",+ "name": "Corsican",+ "iso": "co",+ "wpLocale": "co",+ "dir": "ltr",+ "translated": 0,+ "file": "co.json"+ },+ {+ "code": "hr",+ "name": "Croatian",+ "iso": "hr",+ "wpLocale": "hr",+ "dir": "ltr",+ "translated": 0,+ "file": "hr.json"+ },+ {+ "code": "dv",+ "name": "Dhivehi",+ "iso": "dv",+ "wpLocale": "dv",+ "dir": "rtl",+ "translated": 0,+ "file": "dv.json"+ },+ {+ "code": "dzo",+ "name": "Dzongkha",+ "iso": "dz",+ "wpLocale": "dzo",+ "dir": "ltr",+ "translated": 0,+ "file": "dzo.json"+ },+ {+ "code": "en-nz",+ "name": "English (New Zealand)",+ "iso": "en",+ "wpLocale": "en_NZ",+ "dir": "ltr",+ "translated": 0,+ "file": "en-nz.json"+ },+ {+ "code": "ca",+ "name": "Catalan",+ "iso": "ca",+ "wpLocale": "ca",+ "dir": "ltr",+ "translated": 0,+ "file": "ca.json"+ },+ {+ "code": "eo",+ "name": "Esperanto",+ "iso": "eo",+ "wpLocale": "eo",+ "dir": "ltr",+ "translated": 0,+ "file": "eo.json"+ },+ {+ "code": "et",+ "name": "Estonian",+ "iso": "et",+ "wpLocale": "et",+ "dir": "ltr",+ "translated": 0,+ "file": "et.json"+ },+ {+ "code": "fo",+ "name": "Faroese",+ "iso": "fo",+ "wpLocale": "fo",+ "dir": "ltr",+ "translated": 0,+ "file": "fo.json"+ },+ {+ "code": "fi",+ "name": "Finnish",+ "iso": "fi",+ "wpLocale": "fi",+ "dir": "ltr",+ "translated": 0,+ "file": "fi.json"+ },+ {+ "code": "fon",+ "name": "Fon",+ "wpLocale": "fon",+ "dir": "ltr",+ "translated": 0,+ "file": "fon.json"+ },+ {+ "code": "fr-be",+ "name": "French (Belgium)",+ "iso": "fr",+ "wpLocale": "fr_BE",+ "dir": "ltr",+ "translated": 0,+ "file": "fr-be.json"+ },+ {+ "code": "fr-ca",+ "name": "French (Canada)",+ "iso": "fr",+ "wpLocale": "fr_CA",+ "dir": "ltr",+ "translated": 0,+ "file": "fr-ca.json"+ },+ {+ "code": "fy",+ "name": "Frisian",+ "iso": "fy",+ "wpLocale": "fy",+ "dir": "ltr",+ "translated": 0,+ "file": "fy.json"+ },+ {+ "code": "bal",+ "name": "Catalan (Balear)",+ "wpLocale": "bal",+ "dir": "ltr",+ "translated": 0,+ "file": "bal.json"+ },+ {+ "code": "bg",+ "name": "Bulgarian",+ "iso": "bg",+ "wpLocale": "bg_BG",+ "dir": "ltr",+ "translated": 0,+ "file": "bg.json"+ },+ {+ "code": "fuc",+ "name": "Fulah",+ "iso": "ff",+ "wpLocale": "fuc",+ "dir": "ltr",+ "translated": 0,+ "file": "fuc.json"+ },+ {+ "code": "az-tr",+ "name": "Azerbaijani (Turkey)",+ "iso": "az",+ "wpLocale": "az_TR",+ "dir": "ltr",+ "translated": 0,+ "file": "az-tr.json"+ },+ {+ "code": "arq",+ "name": "Algerian Arabic",+ "iso": "ar",+ "wpLocale": "arq",+ "dir": "rtl",+ "translated": 0,+ "file": "arq.json"+ },+ {+ "code": "am",+ "name": "Amharic",+ "iso": "am",+ "wpLocale": "am",+ "dir": "ltr",+ "translated": 0,+ "file": "am.json"+ },+ {+ "code": "an",+ "name": "Aragonese",+ "iso": "an",+ "wpLocale": "arg",+ "dir": "ltr",+ "translated": 0,+ "file": "an.json"+ },+ {+ "code": "hy",+ "name": "Armenian",+ "iso": "hy",+ "wpLocale": "hy",+ "dir": "ltr",+ "translated": 0,+ "file": "hy.json"+ },+ {+ "code": "frp",+ "name": "Arpitan",+ "wpLocale": "frp",+ "dir": "ltr",+ "translated": 0,+ "file": "frp.json"+ },+ {+ "code": "as",+ "name": "Assamese",+ "iso": "as",+ "wpLocale": "as",+ "dir": "ltr",+ "translated": 0,+ "file": "as.json"+ },+ {+ "code": "ast",+ "name": "Asturian",+ "wpLocale": "ast",+ "dir": "ltr",+ "translated": 0,+ "file": "ast.json"+ },+ {+ "code": "az",+ "name": "Azerbaijani",+ "iso": "az",+ "wpLocale": "az",+ "dir": "ltr",+ "translated": 0,+ "file": "az.json"+ },+ {+ "code": "bcc",+ "name": "Balochi Southern",+ "wpLocale": "bcc",+ "dir": "rtl",+ "translated": 0,+ "file": "bcc.json"+ },+ {+ "code": "br",+ "name": "Breton",+ "iso": "br",+ "wpLocale": "bre",+ "dir": "ltr",+ "translated": 0,+ "file": "br.json"+ },+ {+ "code": "ba",+ "name": "Bashkir",+ "iso": "ba",+ "wpLocale": "ba",+ "dir": "ltr",+ "translated": 0,+ "file": "ba.json"+ },+ {+ "code": "eu",+ "name": "Basque",+ "iso": "eu",+ "wpLocale": "eu",+ "dir": "ltr",+ "translated": 0,+ "file": "eu.json"+ },+ {+ "code": "bel",+ "name": "Belarusian",+ "iso": "be",+ "wpLocale": "bel",+ "dir": "ltr",+ "translated": 0,+ "file": "bel.json"+ },+ {+ "code": "bn",+ "name": "Bengali (Bangladesh)",+ "iso": "bn",+ "wpLocale": "bn_BD",+ "dir": "ltr",+ "translated": 0,+ "file": "bn.json"+ },+ {+ "code": "bn-in",+ "name": "Bengali (India)",+ "iso": "bn",+ "wpLocale": "bn_IN",+ "dir": "ltr",+ "translated": 0,+ "file": "bn-in.json"+ },+ {+ "code": "bho",+ "name": "Bhojpuri",+ "wpLocale": "bho",+ "dir": "ltr",+ "translated": 0,+ "file": "bho.json"+ },+ {+ "code": "brx",+ "name": "Bodo",+ "wpLocale": "brx",+ "dir": "ltr",+ "translated": 0,+ "file": "brx.json"+ },+ {+ "code": "gax",+ "name": "Borana-Arsi-Guji Oromo",+ "wpLocale": "gax",+ "dir": "ltr",+ "translated": 0,+ "file": "gax.json"+ },+ {+ "code": "bs",+ "name": "Bosnian",+ "iso": "bs",+ "wpLocale": "bs_BA",+ "dir": "ltr",+ "translated": 0,+ "file": "bs.json"+ },+ {+ "code": "fur",+ "name": "Friulian",+ "wpLocale": "fur",+ "dir": "ltr",+ "translated": 0,+ "file": "fur.json"+ },+ {+ "code": "ka",+ "name": "Georgian",+ "iso": "ka",+ "wpLocale": "ka_GE",+ "dir": "ltr",+ "translated": 0,+ "file": "ka.json"+ },+ {+ "code": "mfe",+ "name": "Mauritian Creole",+ "wpLocale": "mfe",+ "dir": "ltr",+ "translated": 0,+ "file": "mfe.json"+ },+ {+ "code": "lt",+ "name": "Lithuanian",+ "iso": "lt",+ "wpLocale": "lt_LT",+ "dir": "ltr",+ "translated": 0,+ "file": "lt.json"+ },+ {+ "code": "ckb",+ "name": "Kurdish (Sorani)",+ "iso": "ku",+ "wpLocale": "ckb",+ "dir": "rtl",+ "translated": 0,+ "file": "ckb.json"+ },+ {+ "code": "kir",+ "name": "Kyrgyz",+ "iso": "ky",+ "wpLocale": "kir",+ "dir": "ltr",+ "translated": 0,+ "file": "kir.json"+ },+ {+ "code": "lo",+ "name": "Lao",+ "iso": "lo",+ "wpLocale": "lo",+ "dir": "ltr",+ "translated": 0,+ "file": "lo.json"+ },+ {+ "code": "lv",+ "name": "Latvian",+ "iso": "lv",+ "wpLocale": "lv",+ "dir": "ltr",+ "translated": 0,+ "file": "lv.json"+ },+ {+ "code": "lij",+ "name": "Ligurian",+ "wpLocale": "lij",+ "dir": "ltr",+ "translated": 0,+ "file": "lij.json"+ },+ {+ "code": "li",+ "name": "Limburgish",+ "iso": "li",+ "wpLocale": "li",+ "dir": "ltr",+ "translated": 0,+ "file": "li.json"+ },+ {+ "code": "lin",+ "name": "Lingala",+ "iso": "ln",+ "wpLocale": "lin",+ "dir": "ltr",+ "translated": 0,+ "file": "lin.json"+ },+ {+ "code": "lmo",+ "name": "Lombard",+ "wpLocale": "lmo",+ "dir": "ltr",+ "translated": 0,+ "file": "lmo.json"+ },+ {+ "code": "ko",+ "name": "Korean",+ "iso": "ko",+ "wpLocale": "ko_KR",+ "dir": "ltr",+ "translated": 0,+ "file": "ko.json"+ },+ {+ "code": "dsb",+ "name": "Lower Sorbian",+ "wpLocale": "dsb",+ "dir": "ltr",+ "translated": 0,+ "file": "dsb.json"+ },+ {+ "code": "lb",+ "name": "Luxembourgish",+ "iso": "lb",+ "wpLocale": "lb_LU",+ "dir": "ltr",+ "translated": 0,+ "file": "lb.json"+ },+ {+ "code": "mk",+ "name": "Macedonian",+ "iso": "mk",+ "wpLocale": "mk_MK",+ "dir": "ltr",+ "translated": 0,+ "file": "mk.json"+ },+ {+ "code": "mai",+ "name": "Maithili",+ "wpLocale": "mai",+ "dir": "ltr",+ "translated": 0,+ "file": "mai.json"+ },+ {+ "code": "mg",+ "name": "Malagasy",+ "iso": "mg",+ "wpLocale": "mg_MG",+ "dir": "ltr",+ "translated": 0,+ "file": "mg.json"+ },+ {+ "code": "ms",+ "name": "Malay",+ "iso": "ms",+ "wpLocale": "ms_MY",+ "dir": "ltr",+ "translated": 0,+ "file": "ms.json"+ },+ {+ "code": "ml",+ "name": "Malayalam",+ "iso": "ml",+ "wpLocale": "ml_IN",+ "dir": "ltr",+ "translated": 0,+ "file": "ml.json"+ },+ {+ "code": "mri",+ "name": "Maori",+ "iso": "mi",+ "wpLocale": "mri",+ "dir": "ltr",+ "translated": 0,+ "file": "mri.json"+ },+ {+ "code": "mr",+ "name": "Marathi",+ "iso": "mr",+ "wpLocale": "mr",+ "dir": "ltr",+ "translated": 0,+ "file": "mr.json"+ },+ {+ "code": "kmr",+ "name": "Kurdish (Kurmanji)",+ "iso": "ku",+ "wpLocale": "kmr",+ "dir": "ltr",+ "translated": 0,+ "file": "kmr.json"+ },+ {+ "code": "kin",+ "name": "Kinyarwanda",+ "iso": "rw",+ "wpLocale": "kin",+ "dir": "ltr",+ "translated": 0,+ "file": "kin.json"+ },+ {+ "code": "de-at",+ "name": "German (Austria)",+ "iso": "de",+ "wpLocale": "de_AT",+ "dir": "ltr",+ "translated": 0,+ "file": "de-at.json"+ },+ {+ "code": "he",+ "name": "Hebrew",+ "iso": "he",+ "wpLocale": "he_IL",+ "dir": "rtl",+ "translated": 0,+ "file": "he.json"+ },+ {+ "code": "de-ch",+ "name": "German (Switzerland)",+ "iso": "de",+ "wpLocale": "de_CH",+ "dir": "ltr",+ "translated": 0,+ "file": "de-ch.json"+ },+ {+ "code": "el",+ "name": "Greek",+ "iso": "el",+ "wpLocale": "el",+ "dir": "ltr",+ "translated": 0,+ "file": "el.json"+ },+ {+ "code": "kal",+ "name": "Greenlandic",+ "iso": "kl",+ "wpLocale": "kal",+ "dir": "ltr",+ "translated": 0,+ "file": "kal.json"+ },+ {+ "code": "gu",+ "name": "Gujarati",+ "iso": "gu",+ "wpLocale": "gu",+ "dir": "ltr",+ "translated": 0,+ "file": "gu.json"+ },+ {+ "code": "hat",+ "name": "Haitian Creole",+ "iso": "ht",+ "wpLocale": "hat",+ "dir": "ltr",+ "translated": 0,+ "file": "hat.json"+ },+ {+ "code": "hau",+ "name": "Hausa",+ "iso": "ha",+ "wpLocale": "hau",+ "dir": "ltr",+ "translated": 0,+ "file": "hau.json"+ },+ {+ "code": "haw",+ "name": "Hawaiian",+ "wpLocale": "haw_US",+ "dir": "ltr",+ "translated": 0,+ "file": "haw.json"+ },+ {+ "code": "haz",+ "name": "Hazaragi",+ "wpLocale": "haz",+ "dir": "rtl",+ "translated": 0,+ "file": "haz.json"+ },+ {+ "code": "hi",+ "name": "Hindi",+ "iso": "hi",+ "wpLocale": "hi_IN",+ "dir": "ltr",+ "translated": 0,+ "file": "hi.json"+ },+ {+ "code": "km",+ "name": "Khmer",+ "iso": "km",+ "wpLocale": "km",+ "dir": "ltr",+ "translated": 0,+ "file": "km.json"+ },+ {+ "code": "hu",+ "name": "Hungarian",+ "iso": "hu",+ "wpLocale": "hu_HU",+ "dir": "ltr",+ "translated": 0,+ "file": "hu.json"+ },+ {+ "code": "is",+ "name": "Icelandic",+ "iso": "is",+ "wpLocale": "is_IS",+ "dir": "ltr",+ "translated": 0,+ "file": "is.json"+ },+ {+ "code": "ido",+ "name": "Ido",+ "iso": "io",+ "wpLocale": "ido",+ "dir": "ltr",+ "translated": 0,+ "file": "ido.json"+ },+ {+ "code": "ibo",+ "name": "Igbo",+ "iso": "ig",+ "wpLocale": "ibo",+ "dir": "ltr",+ "translated": 0,+ "file": "ibo.json"+ },+ {+ "code": "ga",+ "name": "Irish",+ "iso": "ga",+ "wpLocale": "ga",+ "dir": "ltr",+ "translated": 0,+ "file": "ga.json"+ },+ {+ "code": "jv",+ "name": "Javanese",+ "iso": "jv",+ "wpLocale": "jv_ID",+ "dir": "ltr",+ "translated": 0,+ "file": "jv.json"+ },+ {+ "code": "kab",+ "name": "Kabyle",+ "wpLocale": "kab",+ "dir": "ltr",+ "translated": 0,+ "file": "kab.json"+ },+ {+ "code": "kaa",+ "name": "Karakalpak",+ "wpLocale": "kaa",+ "dir": "ltr",+ "translated": 0,+ "file": "kaa.json"+ },+ {+ "code": "kk",+ "name": "Kazakh",+ "iso": "kk",+ "wpLocale": "kk",+ "dir": "ltr",+ "translated": 0,+ "file": "kk.json"+ },+ {+ "code": "zul",+ "name": "Zulu",+ "iso": "zu",+ "wpLocale": "zul",+ "dir": "ltr",+ "translated": 0,+ "file": "zul.json"+ }+]diff --git a/src/locales/scripts/update-locale-list.js b/src/locales/scripts/update-locale-list.jsdeleted file mode 100644index 8b2327e34..000000000--- a/src/locales/scripts/update-locale-list.js+++ /dev/null@@ -1,69 +0,0 @@-// locales.py-// This script extracts data for locales available in GlotPress, and-// saves it to `locales-list.json`--const axios = require('axios')-const fs = require('fs')--const base_url =- 'https://raw.githubusercontent.com/GlotPress/GlotPress-WP/develop/locales/locales.php'--const locales = {}--async function getLocalesData() {- const res = await axios.get(base_url)- return res.data-}--getLocalesData()- .then((data) => {- const rawLocalesData = data- .split('new GP_Locale();')- .splice(1)- .map((item) => item.trim())-- const properties = [- 'english_name',- 'native_name',- 'lang_code_iso_639_1',- 'lang_code_iso_639_2',- 'country_code',- 'slug',- 'nplurals',- 'plural_expression',- 'google_code',- 'facebook_locale',- 'text_direction',- 'wp_locale',- ]- const propertyRePatterns = {}- properties.forEach((prop) => {- propertyRePatterns[prop] = new RegExp(`${prop} *= *['](.*)['];`)- })-- const wpLocalePattern = /wp_locale *= *'(.*)';/- rawLocalesData.forEach((rawData) => {- const wpLocaleMatch = rawData.match(wpLocalePattern)- // ugly check to exclude English from the locales list, so we don't overwrite `en.json` later.- if (wpLocaleMatch && wpLocaleMatch[1] !== 'en_US') {- const wpLocale = wpLocaleMatch[1]- locales[wpLocale] = {}- Object.keys(propertyRePatterns).forEach((key) => {- const pattern = propertyRePatterns[key]- const value = rawData.match(pattern)- if (value) {- locales[wpLocale][key] = value[1]- }- })- }- })-- try {- const fileName = process.cwd() + '/src/locales/scripts/locales-list.json'- fs.writeFileSync(fileName, JSON.stringify(locales, null, 2) + '\n')- console.log(`Successfully wrote locales list file to ${fileName}`)- } catch (err) {- console.error(err)- }- })- .catch((err) => console.log('Could not fetch data from ', base_url, err))diff --git a/src/locales/scripts/wp-locales.json b/src/locales/scripts/wp-locales.jsonnew file mode 100644index 000000000..96c3231da--- /dev/null+++ b/src/locales/scripts/wp-locales.json@@ -0,0 +1,2391 @@+{+ "af": {+ "name": "Afrikaans",+ "nativeName": "Afrikaans",+ "langCodeIso_639_1": "af",+ "langCodeIso_639_2": "afr",+ "countryCode": "za",+ "slug": "af",+ "googleCode": "af",+ "facebookLocale": "af_ZA",+ "wpLocale": "af",+ "code": "af",+ "translated": 0+ },+ "am": {+ "name": "Amharic",+ "nativeName": "አማርኛ",+ "langCodeIso_639_1": "am",+ "langCodeIso_639_2": "amh",+ "countryCode": "et",+ "slug": "am",+ "facebookLocale": "am_ET",+ "wpLocale": "am",+ "code": "am",+ "translated": 0+ },+ "ar": {+ "name": "Arabic",+ "nativeName": "العربية",+ "langCodeIso_639_1": "ar",+ "langCodeIso_639_2": "ara",+ "slug": "ar",+ "pluralExpression": "(n == 0) ? 0 : ((n == 1) ? 1 : ((n == 2) ? 2 : ((n % 100 >= 3 && n % 100 <= 10) ? 3 : ((n % 100 >= 11 && n % 100 <= 99) ? 4 : 5))))",+ "googleCode": "ar",+ "facebookLocale": "ar_AR",+ "textDirection": "rtl",+ "wpLocale": "ar",+ "code": "ar",+ "translated": 2+ },+ "arg": {+ "name": "Aragonese",+ "nativeName": "Aragonés",+ "langCodeIso_639_1": "an",+ "langCodeIso_639_2": "arg",+ "countryCode": "es",+ "slug": "an",+ "wpLocale": "arg",+ "code": "an",+ "translated": 0+ },+ "arq": {+ "name": "Algerian Arabic",+ "nativeName": "الدارجة الجزايرية",+ "langCodeIso_639_1": "ar",+ "countryCode": "dz",+ "slug": "arq",+ "pluralExpression": "(n == 0) ? 0 : ((n == 1) ? 1 : ((n == 2) ? 2 : ((n % 100 >= 3 && n % 100 <= 10) ? 3 : ((n % 100 >= 11 && n % 100 <= 99) ? 4 : 5))))",+ "textDirection": "rtl",+ "wpLocale": "arq",+ "code": "arq",+ "translated": 0+ },+ "art_xemoji": {+ "name": "Emoji",+ "langCodeIso_639_2": "art",+ "slug": "art-xemoji",+ "pluralExpression": "0",+ "wpLocale": "art_xemoji",+ "code": "art-xemoji",+ "translated": 0+ },+ "art_xpirate": {+ "name": "English (Pirate)",+ "nativeName": "English (Pirate)",+ "langCodeIso_639_2": "art",+ "slug": "pirate",+ "googleCode": "xx-pirate",+ "facebookLocale": "en_PI",+ "wpLocale": "art_xpirate",+ "code": "pirate",+ "translated": 0+ },+ "ary": {+ "name": "Moroccan Arabic",+ "nativeName": "العربية المغربية",+ "langCodeIso_639_1": "ar",+ "countryCode": "ma",+ "slug": "ary",+ "pluralExpression": "(n == 0) ? 0 : ((n == 1) ? 1 : ((n == 2) ? 2 : ((n % 100 >= 3 && n % 100 <= 10) ? 3 : ((n % 100 >= 11 && n % 100 <= 99) ? 4 : 5))))",+ "textDirection": "rtl",+ "wpLocale": "ary",+ "code": "ary",+ "translated": 0+ },+ "as": {+ "name": "Assamese",+ "nativeName": "অসমীয়া",+ "langCodeIso_639_1": "as",+ "langCodeIso_639_2": "asm",+ "countryCode": "in",+ "slug": "as",+ "facebookLocale": "as_IN",+ "wpLocale": "as",+ "code": "as",+ "translated": 0+ },+ "ast": {+ "name": "Asturian",+ "nativeName": "Asturianu",+ "langCodeIso_639_2": "ast",+ "countryCode": "es",+ "slug": "ast",+ "wpLocale": "ast",+ "code": "ast",+ "translated": 0+ },+ "az": {+ "name": "Azerbaijani",+ "nativeName": "Azərbaycan dili",+ "langCodeIso_639_1": "az",+ "langCodeIso_639_2": "aze",+ "countryCode": "az",+ "slug": "az",+ "googleCode": "az",+ "facebookLocale": "az_AZ",+ "wpLocale": "az",+ "code": "az",+ "translated": 0+ },+ "az_TR": {+ "name": "Azerbaijani (Turkey)",+ "nativeName": "Azərbaycan Türkcəsi",+ "langCodeIso_639_1": "az",+ "langCodeIso_639_2": "aze",+ "countryCode": "tr",+ "slug": "az-tr",+ "wpLocale": "az_TR",+ "code": "az-tr",+ "translated": 0+ },+ "azb": {+ "name": "South Azerbaijani",+ "nativeName": "گؤنئی آذربایجان",+ "langCodeIso_639_1": "az",+ "countryCode": "ir",+ "slug": "azb",+ "textDirection": "rtl",+ "wpLocale": "azb",+ "code": "azb",+ "translated": 0+ },+ "ba": {+ "name": "Bashkir",+ "nativeName": "башҡорт теле",+ "langCodeIso_639_1": "ba",+ "langCodeIso_639_2": "bak",+ "slug": "ba",+ "wpLocale": "ba",+ "code": "ba",+ "translated": 0+ },+ "bal": {+ "name": "Catalan (Balear)",+ "nativeName": "Català (Balear)",+ "langCodeIso_639_2": "bal",+ "countryCode": "es",+ "slug": "bal",+ "wpLocale": "bal",+ "code": "bal",+ "translated": 0+ },+ "bcc": {+ "name": "Balochi Southern",+ "nativeName": "بلوچی مکرانی",+ "countryCode": "pk",+ "slug": "bcc",+ "pluralExpression": "0",+ "textDirection": "rtl",+ "wpLocale": "bcc",+ "code": "bcc",+ "translated": 0+ },+ "bel": {+ "name": "Belarusian",+ "nativeName": "Беларуская мова",+ "langCodeIso_639_1": "be",+ "langCodeIso_639_2": "bel",+ "countryCode": "by",+ "slug": "bel",+ "pluralExpression": "(n % 10 == 1 && n % 100 != 11) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",+ "googleCode": "be",+ "facebookLocale": "be_BY",+ "wpLocale": "bel",+ "code": "bel",+ "translated": 0+ },+ "bg_BG": {+ "name": "Bulgarian",+ "nativeName": "Български",+ "langCodeIso_639_1": "bg",+ "langCodeIso_639_2": "bul",+ "countryCode": "bg",+ "slug": "bg",+ "googleCode": "bg",+ "facebookLocale": "bg_BG",+ "wpLocale": "bg_BG",+ "code": "bg",+ "translated": 0+ },+ "bho": {+ "name": "Bhojpuri",+ "nativeName": "भोजपुरी",+ "countryCode": "in",+ "slug": "bho",+ "wpLocale": "bho",+ "code": "bho",+ "translated": 0+ },+ "bn_BD": {+ "name": "Bengali (Bangladesh)",+ "nativeName": "বাংলা",+ "langCodeIso_639_1": "bn",+ "countryCode": "bd",+ "slug": "bn",+ "googleCode": "bn",+ "wpLocale": "bn_BD",+ "code": "bn",+ "translated": 0+ },+ "bn_IN": {+ "name": "Bengali (India)",+ "nativeName": "বাংলা (ভারত)",+ "langCodeIso_639_1": "bn",+ "countryCode": "in",+ "slug": "bn-in",+ "pluralExpression": "n > 1",+ "googleCode": "bn",+ "facebookLocale": "bn_IN",+ "wpLocale": "bn_IN",+ "code": "bn-in",+ "translated": 0+ },+ "bo": {+ "name": "Tibetan",+ "nativeName": "བོད་ཡིག",+ "langCodeIso_639_1": "bo",+ "langCodeIso_639_2": "tib",+ "slug": "bo",+ "pluralExpression": "0",+ "wpLocale": "bo",+ "code": "bo",+ "translated": 0+ },+ "bre": {+ "name": "Breton",+ "nativeName": "Brezhoneg",+ "langCodeIso_639_1": "br",+ "langCodeIso_639_2": "bre",+ "countryCode": "fr",+ "slug": "br",+ "pluralExpression": "n > 1",+ "facebookLocale": "br_FR",+ "wpLocale": "bre",+ "code": "br",+ "translated": 0+ },+ "brx": {+ "name": "Bodo",+ "nativeName": "बोडो",+ "countryCode": "in",+ "slug": "brx",+ "wpLocale": "brx",+ "code": "brx",+ "translated": 0+ },+ "bs_BA": {+ "name": "Bosnian",+ "nativeName": "Bosanski",+ "langCodeIso_639_1": "bs",+ "langCodeIso_639_2": "bos",+ "countryCode": "ba",+ "slug": "bs",+ "pluralExpression": "(n % 10 == 1 && n % 100 != 11) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",+ "googleCode": "bs",+ "facebookLocale": "bs_BA",+ "wpLocale": "bs_BA",+ "code": "bs",+ "translated": 0+ },+ "ca": {+ "name": "Catalan",+ "nativeName": "Català",+ "langCodeIso_639_1": "ca",+ "langCodeIso_639_2": "cat",+ "slug": "ca",+ "googleCode": "ca",+ "facebookLocale": "ca_ES",+ "wpLocale": "ca",+ "code": "ca",+ "translated": 0+ },+ "ceb": {+ "name": "Cebuano",+ "nativeName": "Cebuano",+ "langCodeIso_639_2": "ceb",+ "countryCode": "ph",+ "slug": "ceb",+ "facebookLocale": "cx_PH",+ "wpLocale": "ceb",+ "code": "ceb",+ "translated": 0+ },+ "ckb": {+ "name": "Kurdish (Sorani)",+ "nativeName": "كوردی",+ "langCodeIso_639_1": "ku",+ "countryCode": "iq",+ "slug": "ckb",+ "facebookLocale": "cb_IQ",+ "textDirection": "rtl",+ "wpLocale": "ckb",+ "code": "ckb",+ "translated": 0+ },+ "co": {+ "name": "Corsican",+ "nativeName": "Corsu",+ "langCodeIso_639_1": "co",+ "langCodeIso_639_2": "cos",+ "countryCode": "it",+ "slug": "co",+ "wpLocale": "co",+ "code": "co",+ "translated": 0+ },+ "cor": {+ "name": "Cornish",+ "nativeName": "Kernewek",+ "langCodeIso_639_1": "kw",+ "langCodeIso_639_2": "cor",+ "countryCode": "gb",+ "slug": "cor",+ "pluralExpression": "(n == 0) ? 0 : ((n == 1) ? 1 : (((n % 100 == 2 || n % 100 == 22 || n % 100 == 42 || n % 100 == 62 || n % 100 == 82) || n % 1000 == 0 && (n % 100000 >= 1000 && n % 100000 <= 20000 || n % 100000 == 40000 || n % 100000 == 60000 || n % 100000 == 80000) || n != 0 && n % 1000000 == 100000) ? 2 : ((n % 100 == 3 || n % 100 == 23 || n % 100 == 43 || n % 100 == 63 || n % 100 == 83) ? 3 : ((n != 1 && (n % 100 == 1 || n % 100 == 21 || n % 100 == 41 || n % 100 == 61 || n % 100 == 81)) ? 4 : 5))))",+ "wpLocale": "cor",+ "code": "cor",+ "translated": 0+ },+ "cs_CZ": {+ "name": "Czech",+ "nativeName": "Čeština",+ "langCodeIso_639_1": "cs",+ "langCodeIso_639_2": "ces",+ "countryCode": "cz",+ "slug": "cs",+ "pluralExpression": "(n == 1) ? 0 : ((n >= 2 && n <= 4) ? 1 : 2)",+ "googleCode": "cs",+ "facebookLocale": "cs_CZ",+ "wpLocale": "cs_CZ",+ "code": "cs",+ "translated": 100+ },+ "cy": {+ "name": "Welsh",+ "nativeName": "Cymraeg",+ "langCodeIso_639_1": "cy",+ "langCodeIso_639_2": "cym",+ "countryCode": "gb",+ "slug": "cy",+ "pluralExpression": "(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3",+ "googleCode": "cy",+ "facebookLocale": "cy_GB",+ "wpLocale": "cy",+ "code": "cy",+ "translated": 0+ },+ "da_DK": {+ "name": "Danish",+ "nativeName": "Dansk",+ "langCodeIso_639_1": "da",+ "langCodeIso_639_2": "dan",+ "countryCode": "dk",+ "slug": "da",+ "googleCode": "da",+ "facebookLocale": "da_DK",+ "wpLocale": "da_DK",+ "code": "da",+ "translated": 100+ },+ "de_AT": {+ "name": "German (Austria)",+ "nativeName": "Deutsch (Österreich)",+ "langCodeIso_639_1": "de",+ "countryCode": "de",+ "slug": "de-at",+ "googleCode": "de",+ "wpLocale": "de_AT",+ "code": "de-at",+ "translated": 0+ },+ "de_CH": {+ "name": "German (Switzerland)",+ "nativeName": "Deutsch (Schweiz)",+ "langCodeIso_639_1": "de",+ "countryCode": "ch",+ "slug": "de-ch",+ "googleCode": "de",+ "wpLocale": "de_CH",+ "code": "de-ch",+ "translated": 0+ },+ "de_DE": {+ "name": "German",+ "nativeName": "Deutsch",+ "langCodeIso_639_1": "de",+ "countryCode": "de",+ "slug": "de",+ "googleCode": "de",+ "facebookLocale": "de_DE",+ "wpLocale": "de_DE",+ "code": "de",+ "translated": 100+ },+ "dsb": {+ "name": "Lower Sorbian",+ "nativeName": "Dolnoserbšćina",+ "langCodeIso_639_2": "dsb",+ "countryCode": "de",+ "slug": "dsb",+ "pluralExpression": "(n % 100 == 1) ? 0 : ((n % 100 == 2) ? 1 : ((n % 100 == 3 || n % 100 == 4) ? 2 : 3))",+ "wpLocale": "dsb",+ "code": "dsb",+ "translated": 0+ },+ "dv": {+ "name": "Dhivehi",+ "nativeName": "ދިވެހި",+ "langCodeIso_639_1": "dv",+ "langCodeIso_639_2": "div",+ "countryCode": "mv",+ "slug": "dv",+ "textDirection": "rtl",+ "wpLocale": "dv",+ "code": "dv",+ "translated": 0+ },+ "dzo": {+ "name": "Dzongkha",+ "nativeName": "རྫོང་ཁ",+ "langCodeIso_639_1": "dz",+ "langCodeIso_639_2": "dzo",+ "countryCode": "bt",+ "slug": "dzo",+ "pluralExpression": "0",+ "wpLocale": "dzo",+ "code": "dzo",+ "translated": 0+ },+ "el": {+ "name": "Greek",+ "nativeName": "Ελληνικά",+ "langCodeIso_639_1": "el",+ "langCodeIso_639_2": "ell",+ "countryCode": "gr",+ "slug": "el",+ "googleCode": "el",+ "facebookLocale": "el_GR",+ "wpLocale": "el",+ "code": "el",+ "translated": 0+ },+ "en_AU": {+ "name": "English (Australia)",+ "nativeName": "English (Australia)",+ "langCodeIso_639_1": "en",+ "langCodeIso_639_2": "eng",+ "countryCode": "au",+ "slug": "en-au",+ "googleCode": "en",+ "wpLocale": "en_AU",+ "code": "en-au",+ "translated": 20+ },+ "en_CA": {+ "name": "English (Canada)",+ "nativeName": "English (Canada)",+ "langCodeIso_639_1": "en",+ "langCodeIso_639_2": "eng",+ "countryCode": "ca",+ "slug": "en-ca",+ "googleCode": "en",+ "wpLocale": "en_CA",+ "code": "en-ca",+ "translated": 95+ },+ "en_GB": {+ "name": "English (UK)",+ "nativeName": "English (UK)",+ "langCodeIso_639_1": "en",+ "langCodeIso_639_2": "eng",+ "countryCode": "gb",+ "slug": "en-gb",+ "googleCode": "en",+ "facebookLocale": "en_GB",+ "wpLocale": "en_GB",+ "code": "en-gb",+ "translated": 100+ },+ "en_NZ": {+ "name": "English (New Zealand)",+ "nativeName": "English (New Zealand)",+ "langCodeIso_639_1": "en",+ "langCodeIso_639_2": "eng",+ "countryCode": "nz",+ "slug": "en-nz",+ "googleCode": "en",+ "wpLocale": "en_NZ",+ "code": "en-nz",+ "translated": 0+ },+ "en_ZA": {+ "name": "English (South Africa)",+ "nativeName": "English (South Africa)",+ "langCodeIso_639_1": "en",+ "langCodeIso_639_2": "eng",+ "countryCode": "za",+ "slug": "en-za",+ "googleCode": "en",+ "wpLocale": "en_ZA",+ "code": "en-za",+ "translated": 95+ },+ "eo": {+ "name": "Esperanto",+ "nativeName": "Esperanto",+ "langCodeIso_639_1": "eo",+ "langCodeIso_639_2": "epo",+ "slug": "eo",+ "googleCode": "eo",+ "facebookLocale": "eo_EO",+ "wpLocale": "eo",+ "code": "eo",+ "translated": 0+ },+ "es_AR": {+ "name": "Spanish (Argentina)",+ "nativeName": "Español de Argentina",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "ar",+ "slug": "es-ar",+ "googleCode": "es",+ "facebookLocale": "es_LA",+ "wpLocale": "es_AR",+ "code": "es-ar",+ "translated": 100+ },+ "es_CL": {+ "name": "Spanish (Chile)",+ "nativeName": "Español de Chile",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "cl",+ "slug": "es-cl",+ "googleCode": "es",+ "facebookLocale": "es_LA",+ "wpLocale": "es_CL",+ "code": "es-cl",+ "translated": 0+ },+ "es_CO": {+ "name": "Spanish (Colombia)",+ "nativeName": "Español de Colombia",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "co",+ "slug": "es-co",+ "googleCode": "es",+ "facebookLocale": "es_LA",+ "wpLocale": "es_CO",+ "code": "es-co",+ "translated": 100+ },+ "es_CR": {+ "name": "Spanish (Costa Rica)",+ "nativeName": "Español de Costa Rica",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "cr",+ "slug": "es-cr",+ "googleCode": "es",+ "facebookLocale": "es_LA",+ "wpLocale": "es_CR",+ "code": "es-cr",+ "translated": 0+ },+ "es_DO": {+ "name": "Spanish (Dominican Republic)",+ "nativeName": "Español de República Dominicana",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "do",+ "slug": "es-do",+ "googleCode": "es",+ "facebookLocale": "es_LA",+ "wpLocale": "es_DO",+ "code": "es-do",+ "translated": 95+ },+ "es_EC": {+ "name": "Spanish (Ecuador)",+ "nativeName": "Español de Ecuador",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "ec",+ "slug": "es-ec",+ "googleCode": "es",+ "facebookLocale": "es_LA",+ "wpLocale": "es_EC",+ "code": "es-ec",+ "translated": 100+ },+ "es_ES": {+ "name": "Spanish (Spain)",+ "nativeName": "Español",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "es",+ "slug": "es",+ "googleCode": "es",+ "facebookLocale": "es_ES",+ "wpLocale": "es_ES",+ "code": "es",+ "translated": 100+ },+ "es_GT": {+ "name": "Spanish (Guatemala)",+ "nativeName": "Español de Guatemala",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "gt",+ "slug": "es-gt",+ "googleCode": "es",+ "facebookLocale": "es_LA",+ "wpLocale": "es_GT",+ "code": "es-gt",+ "translated": 0+ },+ "es_HN": {+ "name": "Spanish (Honduras)",+ "nativeName": "Español de Honduras",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "hn",+ "slug": "es-hn",+ "googleCode": "es",+ "facebookLocale": "es_LA",+ "wpLocale": "es_HN",+ "code": "es-hn",+ "translated": 0+ },+ "es_MX": {+ "name": "Spanish (Mexico)",+ "nativeName": "Español de México",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "mx",+ "slug": "es-mx",+ "googleCode": "es",+ "facebookLocale": "es_MX",+ "wpLocale": "es_MX",+ "code": "es-mx",+ "translated": 20+ },+ "es_PE": {+ "name": "Spanish (Peru)",+ "nativeName": "Español de Perú",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "pe",+ "slug": "es-pe",+ "googleCode": "es",+ "facebookLocale": "es_LA",+ "wpLocale": "es_PE",+ "code": "es-pe",+ "translated": 0+ },+ "es_PR": {+ "name": "Spanish (Puerto Rico)",+ "nativeName": "Español de Puerto Rico",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "pr",+ "slug": "es-pr",+ "googleCode": "es",+ "facebookLocale": "es_LA",+ "wpLocale": "es_PR",+ "code": "es-pr",+ "translated": 0+ },+ "es_UY": {+ "name": "Spanish (Uruguay)",+ "nativeName": "Español de Uruguay",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "uy",+ "slug": "es-uy",+ "googleCode": "es",+ "facebookLocale": "es_LA",+ "wpLocale": "es_UY",+ "code": "es-uy",+ "translated": 0+ },+ "es_VE": {+ "name": "Spanish (Venezuela)",+ "nativeName": "Español de Venezuela",+ "langCodeIso_639_1": "es",+ "langCodeIso_639_2": "spa",+ "countryCode": "ve",+ "slug": "es-ve",+ "googleCode": "es",+ "facebookLocale": "es_LA",+ "wpLocale": "es_VE",+ "code": "es-ve",+ "translated": 100+ },+ "et": {+ "name": "Estonian",+ "nativeName": "Eesti",+ "langCodeIso_639_1": "et",+ "langCodeIso_639_2": "est",+ "countryCode": "ee",+ "slug": "et",+ "googleCode": "et",+ "facebookLocale": "et_EE",+ "wpLocale": "et",+ "code": "et",+ "translated": 0+ },+ "eu": {+ "name": "Basque",+ "nativeName": "Euskara",+ "langCodeIso_639_1": "eu",+ "langCodeIso_639_2": "eus",+ "countryCode": "es",+ "slug": "eu",+ "googleCode": "eu",+ "facebookLocale": "eu_ES",+ "wpLocale": "eu",+ "code": "eu",+ "translated": 0+ },+ "fa_AF": {+ "name": "Persian (Afghanistan)",+ "nativeName": "(فارسی (افغانستان",+ "langCodeIso_639_1": "fa",+ "langCodeIso_639_2": "fas",+ "slug": "fa-af",+ "pluralExpression": "n > 1",+ "googleCode": "fa",+ "textDirection": "rtl",+ "wpLocale": "fa_AF",+ "code": "fa-af",+ "translated": 0+ },+ "fa_IR": {+ "name": "Persian",+ "nativeName": "فارسی",+ "langCodeIso_639_1": "fa",+ "langCodeIso_639_2": "fas",+ "slug": "fa",+ "pluralExpression": "n > 1",+ "googleCode": "fa",+ "facebookLocale": "fa_IR",+ "textDirection": "rtl",+ "wpLocale": "fa_IR",+ "code": "fa",+ "translated": 0+ },+ "fi": {+ "name": "Finnish",+ "nativeName": "Suomi",+ "langCodeIso_639_1": "fi",+ "langCodeIso_639_2": "fin",+ "countryCode": "fi",+ "slug": "fi",+ "googleCode": "fi",+ "facebookLocale": "fi_FI",+ "wpLocale": "fi",+ "code": "fi",+ "translated": 0+ },+ "fo": {+ "name": "Faroese",+ "nativeName": "Føroyskt",+ "langCodeIso_639_1": "fo",+ "langCodeIso_639_2": "fao",+ "countryCode": "fo",+ "slug": "fo",+ "facebookLocale": "fo_FO",+ "wpLocale": "fo",+ "code": "fo",+ "translated": 0+ },+ "fon": {+ "name": "Fon",+ "nativeName": "fɔ̀ngbè",+ "langCodeIso_639_2": "fon",+ "countryCode": "bj",+ "slug": "fon",+ "wpLocale": "fon",+ "code": "fon",+ "translated": 0+ },+ "fr_BE": {+ "name": "French (Belgium)",+ "nativeName": "Français de Belgique",+ "langCodeIso_639_1": "fr",+ "langCodeIso_639_2": "fra",+ "countryCode": "be",+ "slug": "fr-be",+ "pluralExpression": "n > 1",+ "wpLocale": "fr_BE",+ "code": "fr-be",+ "translated": 0+ },+ "fr_CA": {+ "name": "French (Canada)",+ "nativeName": "Français du Canada",+ "langCodeIso_639_1": "fr",+ "langCodeIso_639_2": "fra",+ "countryCode": "ca",+ "slug": "fr-ca",+ "pluralExpression": "n > 1",+ "facebookLocale": "fr_CA",+ "wpLocale": "fr_CA",+ "code": "fr-ca",+ "translated": 0+ },+ "fr_FR": {+ "name": "French (France)",+ "nativeName": "Français",+ "langCodeIso_639_1": "fr",+ "countryCode": "fr",+ "slug": "fr",+ "pluralExpression": "n > 1",+ "googleCode": "fr",+ "facebookLocale": "fr_FR",+ "wpLocale": "fr_FR",+ "code": "fr",+ "translated": 90+ },+ "frp": {+ "name": "Arpitan",+ "nativeName": "Arpitan",+ "countryCode": "fr",+ "slug": "frp",+ "pluralExpression": "n > 1",+ "wpLocale": "frp",+ "code": "frp",+ "translated": 0+ },+ "fuc": {+ "name": "Fulah",+ "nativeName": "Pulaar",+ "langCodeIso_639_1": "ff",+ "langCodeIso_639_2": "fuc",+ "countryCode": "sn",+ "slug": "fuc",+ "wpLocale": "fuc",+ "code": "fuc",+ "translated": 0+ },+ "fur": {+ "name": "Friulian",+ "nativeName": "Friulian",+ "langCodeIso_639_2": "fur",+ "countryCode": "it",+ "slug": "fur",+ "wpLocale": "fur",+ "code": "fur",+ "translated": 0+ },+ "fy": {+ "name": "Frisian",+ "nativeName": "Frysk",+ "langCodeIso_639_1": "fy",+ "langCodeIso_639_2": "fry",+ "countryCode": "nl",+ "slug": "fy",+ "facebookLocale": "fy_NL",+ "wpLocale": "fy",+ "code": "fy",+ "translated": 0+ },+ "ga": {+ "name": "Irish",+ "nativeName": "Gaelige",+ "langCodeIso_639_1": "ga",+ "langCodeIso_639_2": "gle",+ "countryCode": "ie",+ "slug": "ga",+ "pluralExpression": "(n == 1) ? 0 : ((n == 2) ? 1 : ((n >= 3 && n <= 6) ? 2 : ((n >= 7 && n <= 10) ? 3 : 4)))",+ "googleCode": "ga",+ "facebookLocale": "ga_IE",+ "wpLocale": "ga",+ "code": "ga",+ "translated": 0+ },+ "gax": {+ "name": "Borana-Arsi-Guji Oromo",+ "nativeName": "Afaan Oromoo",+ "countryCode": "et",+ "slug": "gax",+ "pluralExpression": "n > 1",+ "wpLocale": "gax",+ "code": "gax",+ "translated": 0+ },+ "gd": {+ "name": "Scottish Gaelic",+ "nativeName": "Gàidhlig",+ "langCodeIso_639_1": "gd",+ "langCodeIso_639_2": "gla",+ "countryCode": "gb",+ "slug": "gd",+ "pluralExpression": "(n == 1 || n == 11) ? 0 : ((n == 2 || n == 12) ? 1 : ((n >= 3 && n <= 10 || n >= 13 && n <= 19) ? 2 : 3))",+ "googleCode": "gd",+ "wpLocale": "gd",+ "code": "gd",+ "translated": 0+ },+ "gl_ES": {+ "name": "Galician",+ "nativeName": "Galego",+ "langCodeIso_639_1": "gl",+ "langCodeIso_639_2": "glg",+ "countryCode": "es",+ "slug": "gl",+ "googleCode": "gl",+ "facebookLocale": "gl_ES",+ "wpLocale": "gl_ES",+ "code": "gl",+ "translated": 98+ },+ "gu": {+ "name": "Gujarati",+ "nativeName": "ગુજરાતી",+ "langCodeIso_639_1": "gu",+ "langCodeIso_639_2": "guj",+ "slug": "gu",+ "googleCode": "gu",+ "facebookLocale": "gu_IN",+ "wpLocale": "gu",+ "code": "gu",+ "translated": 0+ },+ "hat": {+ "name": "Haitian Creole",+ "nativeName": "Kreyol ayisyen",+ "langCodeIso_639_1": "ht",+ "langCodeIso_639_2": "hat",+ "countryCode": "ht",+ "slug": "hat",+ "wpLocale": "hat",+ "code": "hat",+ "translated": 0+ },+ "hau": {+ "name": "Hausa",+ "nativeName": "Harshen Hausa",+ "langCodeIso_639_1": "ha",+ "langCodeIso_639_2": "hau",+ "countryCode": "ng",+ "slug": "hau",+ "googleCode": "ha",+ "facebookLocale": "ha_NG",+ "wpLocale": "hau",+ "code": "hau",+ "translated": 0+ },+ "haw_US": {+ "name": "Hawaiian",+ "nativeName": "Ōlelo Hawaiʻi",+ "langCodeIso_639_2": "haw",+ "countryCode": "us",+ "slug": "haw",+ "wpLocale": "haw_US",+ "code": "haw",+ "translated": 0+ },+ "haz": {+ "name": "Hazaragi",+ "nativeName": "هزاره گی",+ "countryCode": "af",+ "slug": "haz",+ "textDirection": "rtl",+ "wpLocale": "haz",+ "code": "haz",+ "translated": 0+ },+ "he_IL": {+ "name": "Hebrew",+ "nativeName": "עִבְרִית",+ "langCodeIso_639_1": "he",+ "countryCode": "il",+ "slug": "he",+ "googleCode": "iw",+ "facebookLocale": "he_IL",+ "textDirection": "rtl",+ "wpLocale": "he_IL",+ "code": "he",+ "translated": 0+ },+ "hi_IN": {+ "name": "Hindi",+ "nativeName": "हिन्दी",+ "langCodeIso_639_1": "hi",+ "langCodeIso_639_2": "hin",+ "countryCode": "in",+ "slug": "hi",+ "googleCode": "hi",+ "facebookLocale": "hi_IN",+ "wpLocale": "hi_IN",+ "code": "hi",+ "translated": 0+ },+ "hr": {+ "name": "Croatian",+ "nativeName": "Hrvatski",+ "langCodeIso_639_1": "hr",+ "langCodeIso_639_2": "hrv",+ "countryCode": "hr",+ "slug": "hr",+ "pluralExpression": "(n % 10 == 1 && n % 100 != 11) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",+ "googleCode": "hr",+ "facebookLocale": "hr_HR",+ "wpLocale": "hr",+ "code": "hr",+ "translated": 0+ },+ "hsb": {+ "name": "Upper Sorbian",+ "nativeName": "Hornjoserbšćina",+ "langCodeIso_639_2": "hsb",+ "countryCode": "de",+ "slug": "hsb",+ "pluralExpression": "(n % 100 == 1) ? 0 : ((n % 100 == 2) ? 1 : ((n % 100 == 3 || n % 100 == 4) ? 2 : 3))",+ "wpLocale": "hsb",+ "code": "hsb",+ "translated": 0+ },+ "hu_HU": {+ "name": "Hungarian",+ "nativeName": "Magyar",+ "langCodeIso_639_1": "hu",+ "langCodeIso_639_2": "hun",+ "countryCode": "hu",+ "slug": "hu",+ "googleCode": "hu",+ "facebookLocale": "hu_HU",+ "wpLocale": "hu_HU",+ "code": "hu",+ "translated": 0+ },+ "hy": {+ "name": "Armenian",+ "nativeName": "Հայերեն",+ "langCodeIso_639_1": "hy",+ "langCodeIso_639_2": "hye",+ "countryCode": "am",+ "slug": "hy",+ "googleCode": "hy",+ "facebookLocale": "hy_AM",+ "wpLocale": "hy",+ "code": "hy",+ "translated": 0+ },+ "ibo": {+ "name": "Igbo",+ "nativeName": "Asụsụ Igbo",+ "langCodeIso_639_1": "ig",+ "langCodeIso_639_2": "ibo",+ "countryCode": "ng",+ "slug": "ibo",+ "pluralExpression": "0",+ "googleCode": "ig",+ "wpLocale": "ibo",+ "code": "ibo",+ "translated": 0+ },+ "id_ID": {+ "name": "Indonesian",+ "nativeName": "Bahasa Indonesia",+ "langCodeIso_639_1": "id",+ "langCodeIso_639_2": "ind",+ "countryCode": "id",+ "slug": "id",+ "pluralExpression": "n > 1",+ "googleCode": "id",+ "facebookLocale": "id_ID",+ "wpLocale": "id_ID",+ "code": "id",+ "translated": 57+ },+ "ido": {+ "name": "Ido",+ "nativeName": "Ido",+ "langCodeIso_639_1": "io",+ "langCodeIso_639_2": "ido",+ "slug": "ido",+ "wpLocale": "ido",+ "code": "ido",+ "translated": 0+ },+ "is_IS": {+ "name": "Icelandic",+ "nativeName": "Íslenska",+ "langCodeIso_639_1": "is",+ "langCodeIso_639_2": "isl",+ "countryCode": "is",+ "slug": "is",+ "pluralExpression": "n % 10 != 1 || n % 100 == 11",+ "googleCode": "is",+ "facebookLocale": "is_IS",+ "wpLocale": "is_IS",+ "code": "is",+ "translated": 0+ },+ "it_IT": {+ "name": "Italian",+ "nativeName": "Italiano",+ "langCodeIso_639_1": "it",+ "langCodeIso_639_2": "ita",+ "countryCode": "it",+ "slug": "it",+ "googleCode": "it",+ "facebookLocale": "it_IT",+ "wpLocale": "it_IT",+ "code": "it",+ "translated": 12+ },+ "ja": {+ "name": "Japanese",+ "nativeName": "日本語",+ "langCodeIso_639_1": "ja",+ "countryCode": "jp",+ "slug": "ja",+ "pluralExpression": "0",+ "googleCode": "ja",+ "facebookLocale": "ja_JP",+ "wpLocale": "ja",+ "code": "ja",+ "translated": 32+ },+ "jv_ID": {+ "name": "Javanese",+ "nativeName": "Basa Jawa",+ "langCodeIso_639_1": "jv",+ "langCodeIso_639_2": "jav",+ "countryCode": "id",+ "slug": "jv",+ "googleCode": "jw",+ "facebookLocale": "jv_ID",+ "wpLocale": "jv_ID",+ "code": "jv",+ "translated": 0+ },+ "ka_GE": {+ "name": "Georgian",+ "nativeName": "ქართული",+ "langCodeIso_639_1": "ka",+ "langCodeIso_639_2": "kat",+ "countryCode": "ge",+ "slug": "ka",+ "pluralExpression": "0",+ "googleCode": "ka",+ "facebookLocale": "ka_GE",+ "wpLocale": "ka_GE",+ "code": "ka",+ "translated": 0+ },+ "kaa": {+ "name": "Karakalpak",+ "nativeName": "Qaraqalpaq tili",+ "langCodeIso_639_2": "kaa",+ "countryCode": "uz",+ "slug": "kaa",+ "wpLocale": "kaa",+ "code": "kaa",+ "translated": 0+ },+ "kab": {+ "name": "Kabyle",+ "nativeName": "Taqbaylit",+ "langCodeIso_639_2": "kab",+ "countryCode": "dz",+ "slug": "kab",+ "pluralExpression": "n > 1",+ "wpLocale": "kab",+ "code": "kab",+ "translated": 0+ },+ "kal": {+ "name": "Greenlandic",+ "nativeName": "Kalaallisut",+ "langCodeIso_639_1": "kl",+ "langCodeIso_639_2": "kal",+ "countryCode": "gl",+ "slug": "kal",+ "wpLocale": "kal",+ "code": "kal",+ "translated": 0+ },+ "kin": {+ "name": "Kinyarwanda",+ "nativeName": "Ikinyarwanda",+ "langCodeIso_639_1": "rw",+ "langCodeIso_639_2": "kin",+ "countryCode": "rw",+ "slug": "kin",+ "facebookLocale": "rw_RW",+ "wpLocale": "kin",+ "code": "kin",+ "translated": 0+ },+ "kir": {+ "name": "Kyrgyz",+ "nativeName": "Кыргызча",+ "langCodeIso_639_1": "ky",+ "langCodeIso_639_2": "kir",+ "countryCode": "kg",+ "slug": "kir",+ "pluralExpression": "0",+ "googleCode": "ky",+ "wpLocale": "kir",+ "code": "kir",+ "translated": 0+ },+ "kk": {+ "name": "Kazakh",+ "nativeName": "Қазақ тілі",+ "langCodeIso_639_1": "kk",+ "langCodeIso_639_2": "kaz",+ "countryCode": "kz",+ "slug": "kk",+ "googleCode": "kk",+ "facebookLocale": "kk_KZ",+ "wpLocale": "kk",+ "code": "kk",+ "translated": 0+ },+ "km": {+ "name": "Khmer",+ "nativeName": "ភាសាខ្មែរ",+ "langCodeIso_639_1": "km",+ "langCodeIso_639_2": "khm",+ "countryCode": "kh",+ "slug": "km",+ "pluralExpression": "0",+ "googleCode": "km",+ "facebookLocale": "km_KH",+ "wpLocale": "km",+ "code": "km",+ "translated": 0+ },+ "kmr": {+ "name": "Kurdish (Kurmanji)",+ "nativeName": "Kurdî",+ "langCodeIso_639_1": "ku",+ "countryCode": "tr",+ "slug": "kmr",+ "facebookLocale": "ku_TR",+ "wpLocale": "kmr",+ "code": "kmr",+ "translated": 0+ },+ "kn": {+ "name": "Kannada",+ "nativeName": "ಕನ್ನಡ",+ "langCodeIso_639_1": "kn",+ "langCodeIso_639_2": "kan",+ "countryCode": "in",+ "slug": "kn",+ "googleCode": "kn",+ "facebookLocale": "kn_IN",+ "wpLocale": "kn",+ "code": "kn",+ "translated": 9+ },+ "ko_KR": {+ "name": "Korean",+ "nativeName": "한국어",+ "langCodeIso_639_1": "ko",+ "langCodeIso_639_2": "kor",+ "countryCode": "kr",+ "slug": "ko",+ "pluralExpression": "0",+ "googleCode": "ko",+ "facebookLocale": "ko_KR",+ "wpLocale": "ko_KR",+ "code": "ko",+ "translated": 0+ },+ "lb_LU": {+ "name": "Luxembourgish",+ "nativeName": "Lëtzebuergesch",+ "langCodeIso_639_1": "lb",+ "countryCode": "lu",+ "slug": "lb",+ "wpLocale": "lb_LU",+ "code": "lb",+ "translated": 0+ },+ "li": {+ "name": "Limburgish",+ "nativeName": "Limburgs",+ "langCodeIso_639_1": "li",+ "langCodeIso_639_2": "lim",+ "countryCode": "nl",+ "slug": "li",+ "facebookLocale": "li_NL",+ "wpLocale": "li",+ "code": "li",+ "translated": 0+ },+ "lij": {+ "name": "Ligurian",+ "nativeName": "Lìgure",+ "countryCode": "it",+ "slug": "lij",+ "wpLocale": "lij",+ "code": "lij",+ "translated": 0+ },+ "lin": {+ "name": "Lingala",+ "nativeName": "Ngala",+ "langCodeIso_639_1": "ln",+ "langCodeIso_639_2": "lin",+ "countryCode": "cd",+ "slug": "lin",+ "pluralExpression": "n > 1",+ "facebookLocale": "ln_CD",+ "wpLocale": "lin",+ "code": "lin",+ "translated": 0+ },+ "lmo": {+ "name": "Lombard",+ "nativeName": "Lombardo",+ "countryCode": "it",+ "slug": "lmo",+ "wpLocale": "lmo",+ "code": "lmo",+ "translated": 0+ },+ "lo": {+ "name": "Lao",+ "nativeName": "ພາສາລາວ",+ "langCodeIso_639_1": "lo",+ "langCodeIso_639_2": "lao",+ "countryCode": "la",+ "slug": "lo",+ "pluralExpression": "0",+ "googleCode": "lo",+ "facebookLocale": "lo_LA",+ "wpLocale": "lo",+ "code": "lo",+ "translated": 0+ },+ "lt_LT": {+ "name": "Lithuanian",+ "nativeName": "Lietuvių kalba",+ "langCodeIso_639_1": "lt",+ "langCodeIso_639_2": "lit",+ "countryCode": "lt",+ "slug": "lt",+ "pluralExpression": "(n % 10 == 1 && (n % 100 < 11 || n % 100 > 19)) ? 0 : ((n % 10 >= 2 && n % 10 <= 9 && (n % 100 < 11 || n % 100 > 19)) ? 1 : 2)",+ "googleCode": "lt",+ "facebookLocale": "lt_LT",+ "wpLocale": "lt_LT",+ "code": "lt",+ "translated": 0+ },+ "lug": {+ "name": "Luganda",+ "nativeName": "Oluganda",+ "langCodeIso_639_1": "lg",+ "langCodeIso_639_2": "lug",+ "countryCode": "ug",+ "slug": "lug",+ "wpLocale": "lug",+ "code": "lug",+ "translated": 0+ },+ "lv": {+ "name": "Latvian",+ "nativeName": "Latviešu valoda",+ "langCodeIso_639_1": "lv",+ "langCodeIso_639_2": "lav",+ "countryCode": "lv",+ "slug": "lv",+ "pluralExpression": "(n % 10 == 0 || n % 100 >= 11 && n % 100 <= 19) ? 0 : ((n % 10 == 1 && n % 100 != 11) ? 1 : 2)",+ "googleCode": "lv",+ "facebookLocale": "lv_LV",+ "wpLocale": "lv",+ "code": "lv",+ "translated": 0+ },+ "mai": {+ "name": "Maithili",+ "nativeName": "मैथिली",+ "langCodeIso_639_2": "mai",+ "countryCode": "in",+ "slug": "mai",+ "wpLocale": "mai",+ "code": "mai",+ "translated": 0+ },+ "me_ME": {+ "name": "Montenegrin",+ "nativeName": "Crnogorski jezik",+ "countryCode": "me",+ "slug": "me",+ "pluralExpression": "(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)",+ "wpLocale": "me_ME",+ "code": "me",+ "translated": 0+ },+ "mfe": {+ "name": "Mauritian Creole",+ "nativeName": "Kreol Morisien",+ "countryCode": "mu",+ "slug": "mfe",+ "pluralExpression": "0",+ "wpLocale": "mfe",+ "code": "mfe",+ "translated": 0+ },+ "mg_MG": {+ "name": "Malagasy",+ "nativeName": "Malagasy",+ "langCodeIso_639_1": "mg",+ "langCodeIso_639_2": "mlg",+ "countryCode": "mg",+ "slug": "mg",+ "googleCode": "mg",+ "facebookLocale": "mg_MG",+ "wpLocale": "mg_MG",+ "code": "mg",+ "translated": 0+ },+ "mk_MK": {+ "name": "Macedonian",+ "nativeName": "Македонски јазик",+ "langCodeIso_639_1": "mk",+ "langCodeIso_639_2": "mkd",+ "countryCode": "mk",+ "slug": "mk",+ "pluralExpression": "n % 10 != 1 || n % 100 == 11",+ "googleCode": "mk",+ "facebookLocale": "mk_MK",+ "wpLocale": "mk_MK",+ "code": "mk",+ "translated": 0+ },+ "ml_IN": {+ "name": "Malayalam",+ "nativeName": "മലയാളം",+ "langCodeIso_639_1": "ml",+ "langCodeIso_639_2": "mal",+ "countryCode": "in",+ "slug": "ml",+ "googleCode": "ml",+ "facebookLocale": "ml_IN",+ "wpLocale": "ml_IN",+ "code": "ml",+ "translated": 0+ },+ "mn": {+ "name": "Mongolian",+ "nativeName": "Монгол",+ "langCodeIso_639_1": "mn",+ "langCodeIso_639_2": "mon",+ "countryCode": "mn",+ "slug": "mn",+ "googleCode": "mn",+ "facebookLocale": "mn_MN",+ "wpLocale": "mn",+ "code": "mn",+ "translated": 0+ },+ "mr": {+ "name": "Marathi",+ "nativeName": "मराठी",+ "langCodeIso_639_1": "mr",+ "langCodeIso_639_2": "mar",+ "slug": "mr",+ "googleCode": "mr",+ "facebookLocale": "mr_IN",+ "wpLocale": "mr",+ "code": "mr",+ "translated": 0+ },+ "mri": {+ "name": "Maori",+ "nativeName": "Te Reo Māori",+ "langCodeIso_639_1": "mi",+ "countryCode": "nz",+ "slug": "mri",+ "pluralExpression": "n > 1",+ "googleCode": "mi",+ "wpLocale": "mri",+ "code": "mri",+ "translated": 0+ },+ "ms_MY": {+ "name": "Malay",+ "nativeName": "Bahasa Melayu",+ "langCodeIso_639_1": "ms",+ "langCodeIso_639_2": "msa",+ "slug": "ms",+ "pluralExpression": "0",+ "googleCode": "ms",+ "facebookLocale": "ms_MY",+ "wpLocale": "ms_MY",+ "code": "ms",+ "translated": 0+ },+ "my_MM": {+ "name": "Myanmar (Burmese)",+ "nativeName": "ဗမာစာ",+ "langCodeIso_639_1": "my",+ "langCodeIso_639_2": "mya",+ "countryCode": "mm",+ "slug": "mya",+ "googleCode": "my",+ "wpLocale": "my_MM",+ "code": "mya",+ "translated": 0+ },+ "nb_NO": {+ "name": "Norwegian (Bokmål)",+ "nativeName": "Norsk bokmål",+ "langCodeIso_639_1": "nb",+ "langCodeIso_639_2": "nob",+ "countryCode": "no",+ "slug": "nb",+ "googleCode": "no",+ "facebookLocale": "nb_NO",+ "wpLocale": "nb_NO",+ "code": "nb",+ "translated": 0+ },+ "ne_NP": {+ "name": "Nepali",+ "nativeName": "नेपाली",+ "langCodeIso_639_1": "ne",+ "langCodeIso_639_2": "nep",+ "countryCode": "np",+ "slug": "ne",+ "googleCode": "ne",+ "facebookLocale": "ne_NP",+ "wpLocale": "ne_NP",+ "code": "ne",+ "translated": 0+ },+ "nl_BE": {+ "name": "Dutch (Belgium)",+ "nativeName": "Nederlands (België)",+ "langCodeIso_639_1": "nl",+ "langCodeIso_639_2": "nld",+ "countryCode": "be",+ "slug": "nl-be",+ "googleCode": "nl",+ "wpLocale": "nl_BE",+ "code": "nl-be",+ "translated": 15+ },+ "nl_NL": {+ "name": "Dutch",+ "nativeName": "Nederlands",+ "langCodeIso_639_1": "nl",+ "langCodeIso_639_2": "nld",+ "countryCode": "nl",+ "slug": "nl",+ "googleCode": "nl",+ "facebookLocale": "nl_NL",+ "wpLocale": "nl_NL",+ "code": "nl",+ "translated": 99+ },+ "nn_NO": {+ "name": "Norwegian (Nynorsk)",+ "nativeName": "Norsk nynorsk",+ "langCodeIso_639_1": "nn",+ "langCodeIso_639_2": "nno",+ "countryCode": "no",+ "slug": "nn",+ "googleCode": "no",+ "facebookLocale": "nn_NO",+ "wpLocale": "nn_NO",+ "code": "nn",+ "translated": 0+ },+ "nqo": {+ "name": "N’ko",+ "nativeName": "ߒߞߏ",+ "langCodeIso_639_2": "nqo",+ "countryCode": "gn",+ "slug": "nqo",+ "textDirection": "rtl",+ "wpLocale": "nqo",+ "code": "nqo",+ "translated": 0+ },+ "oci": {+ "name": "Occitan",+ "nativeName": "Occitan",+ "langCodeIso_639_1": "oc",+ "langCodeIso_639_2": "oci",+ "countryCode": "fr",+ "slug": "oci",+ "pluralExpression": "n > 1",+ "wpLocale": "oci",+ "code": "oci",+ "translated": 0+ },+ "ory": {+ "name": "Oriya",+ "nativeName": "ଓଡ଼ିଆ",+ "langCodeIso_639_1": "or",+ "langCodeIso_639_2": "ory",+ "countryCode": "in",+ "slug": "ory",+ "facebookLocale": "or_IN",+ "wpLocale": "ory",+ "code": "ory",+ "translated": 0+ },+ "os": {+ "name": "Ossetic",+ "nativeName": "Ирон",+ "langCodeIso_639_1": "os",+ "langCodeIso_639_2": "oss",+ "slug": "os",+ "wpLocale": "os",+ "code": "os",+ "translated": 0+ },+ "pap_AW": {+ "name": "Papiamento (Aruba)",+ "nativeName": "Papiamento",+ "langCodeIso_639_2": "pap",+ "countryCode": "aw",+ "slug": "pap-aw",+ "wpLocale": "pap_AW",+ "code": "pap-aw",+ "translated": 0+ },+ "pap_CW": {+ "name": "Papiamento (Curaçao and Bonaire)",+ "nativeName": "Papiamentu",+ "langCodeIso_639_2": "pap",+ "countryCode": "cw",+ "slug": "pap-cw",+ "wpLocale": "pap_CW",+ "code": "pap-cw",+ "translated": 0+ },+ "pcd": {+ "name": "Picard",+ "nativeName": "Ch’ti",+ "countryCode": "fr",+ "slug": "pcd",+ "pluralExpression": "n > 1",+ "wpLocale": "pcd",+ "code": "pcd",+ "translated": 0+ },+ "pcm": {+ "name": "Nigerian Pidgin",+ "nativeName": "Nigerian Pidgin",+ "countryCode": "ng",+ "slug": "pcm",+ "wpLocale": "pcm",+ "code": "pcm",+ "translated": 0+ },+ "pl_PL": {+ "name": "Polish",+ "nativeName": "Polski",+ "langCodeIso_639_1": "pl",+ "langCodeIso_639_2": "pol",+ "countryCode": "pl",+ "slug": "pl",+ "pluralExpression": "(n == 1) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",+ "googleCode": "pl",+ "facebookLocale": "pl_PL",+ "wpLocale": "pl_PL",+ "code": "pl",+ "translated": 0+ },+ "ps": {+ "name": "Pashto",+ "nativeName": "پښتو",+ "langCodeIso_639_1": "ps",+ "langCodeIso_639_2": "pus",+ "countryCode": "af",+ "slug": "ps",+ "facebookLocale": "ps_AF",+ "textDirection": "rtl",+ "wpLocale": "ps",+ "code": "ps",+ "translated": 0+ },+ "pt_AO": {+ "name": "Portuguese (Angola)",+ "nativeName": "Português de Angola",+ "langCodeIso_639_1": "pt",+ "countryCode": "ao",+ "slug": "pt-ao",+ "wpLocale": "pt_AO",+ "code": "pt-ao",+ "translated": 0+ },+ "pt_BR": {+ "name": "Portuguese (Brazil)",+ "nativeName": "Português do Brasil",+ "langCodeIso_639_1": "pt",+ "langCodeIso_639_2": "por",+ "countryCode": "br",+ "slug": "pt-br",+ "pluralExpression": "n > 1",+ "googleCode": "pt-BR",+ "facebookLocale": "pt_BR",+ "wpLocale": "pt_BR",+ "code": "pt-br",+ "translated": 64+ },+ "pt_PT": {+ "name": "Portuguese (Portugal)",+ "nativeName": "Português",+ "langCodeIso_639_1": "pt",+ "countryCode": "pt",+ "slug": "pt",+ "googleCode": "pt-PT",+ "facebookLocale": "pt_PT",+ "wpLocale": "pt_PT",+ "code": "pt",+ "translated": 1+ },+ "rhg": {+ "name": "Rohingya",+ "nativeName": "Ruáinga",+ "countryCode": "mm",+ "slug": "rhg",+ "pluralExpression": "0",+ "wpLocale": "rhg",+ "code": "rhg",+ "translated": 0+ },+ "ro_RO": {+ "name": "Romanian",+ "nativeName": "Română",+ "langCodeIso_639_1": "ro",+ "langCodeIso_639_2": "ron",+ "countryCode": "ro",+ "slug": "ro",+ "pluralExpression": "(n == 1) ? 0 : ((n == 0 || n % 100 >= 2 && n % 100 <= 19) ? 1 : 2)",+ "googleCode": "ro",+ "facebookLocale": "ro_RO",+ "wpLocale": "ro_RO",+ "code": "ro",+ "translated": 100+ },+ "roh": {+ "name": "Romansh",+ "nativeName": "Rumantsch",+ "langCodeIso_639_1": "rm",+ "langCodeIso_639_2": "roh",+ "countryCode": "ch",+ "slug": "roh",+ "wpLocale": "roh",+ "code": "roh",+ "translated": 0+ },+ "ru_RU": {+ "name": "Russian",+ "nativeName": "Русский",+ "langCodeIso_639_1": "ru",+ "langCodeIso_639_2": "rus",+ "countryCode": "ru",+ "slug": "ru",+ "pluralExpression": "(n % 10 == 1 && n % 100 != 11) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",+ "googleCode": "ru",+ "facebookLocale": "ru_RU",+ "wpLocale": "ru_RU",+ "code": "ru",+ "translated": 52+ },+ "sa_IN": {+ "name": "Sanskrit",+ "nativeName": "भारतम्",+ "langCodeIso_639_1": "sa",+ "langCodeIso_639_2": "san",+ "countryCode": "in",+ "slug": "sa-in",+ "facebookLocale": "sa_IN",+ "wpLocale": "sa_IN",+ "code": "sa-in",+ "translated": 0+ },+ "sah": {+ "name": "Sakha",+ "nativeName": "Сахалыы",+ "langCodeIso_639_2": "sah",+ "countryCode": "ru",+ "slug": "sah",+ "wpLocale": "sah",+ "code": "sah",+ "translated": 0+ },+ "scn": {+ "name": "Sicilian",+ "nativeName": "Sicilianu",+ "countryCode": "it",+ "slug": "scn",+ "wpLocale": "scn",+ "code": "scn",+ "translated": 0+ },+ "si_LK": {+ "name": "Sinhala",+ "nativeName": "සිංහල",+ "langCodeIso_639_1": "si",+ "langCodeIso_639_2": "sin",+ "countryCode": "lk",+ "slug": "si",+ "googleCode": "si",+ "facebookLocale": "si_LK",+ "wpLocale": "si_LK",+ "code": "si",+ "translated": 0+ },+ "sk_SK": {+ "name": "Slovak",+ "nativeName": "Slovenčina",+ "langCodeIso_639_1": "sk",+ "langCodeIso_639_2": "slk",+ "countryCode": "sk",+ "slug": "sk",+ "pluralExpression": "(n == 1) ? 0 : ((n >= 2 && n <= 4) ? 1 : 2)",+ "googleCode": "sk",+ "facebookLocale": "sk_SK",+ "wpLocale": "sk_SK",+ "code": "sk",+ "translated": 0+ },+ "skr": {+ "name": "Saraiki",+ "nativeName": "سرائیکی",+ "countryCode": "pk",+ "slug": "skr",+ "pluralExpression": "n > 1",+ "textDirection": "rtl",+ "wpLocale": "skr",+ "code": "skr",+ "translated": 0+ },+ "sl_SI": {+ "name": "Slovenian",+ "nativeName": "Slovenščina",+ "langCodeIso_639_1": "sl",+ "langCodeIso_639_2": "slv",+ "countryCode": "si",+ "slug": "sl",+ "pluralExpression": "(n % 100 == 1) ? 0 : ((n % 100 == 2) ? 1 : ((n % 100 == 3 || n % 100 == 4) ? 2 : 3))",+ "googleCode": "sl",+ "facebookLocale": "sl_SI",+ "wpLocale": "sl_SI",+ "code": "sl",+ "translated": 0+ },+ "sna": {+ "name": "Shona",+ "nativeName": "ChiShona",+ "langCodeIso_639_1": "sn",+ "countryCode": "zw",+ "slug": "sna",+ "wpLocale": "sna",+ "code": "sna",+ "translated": 0+ },+ "snd": {+ "name": "Sindhi",+ "nativeName": "سنڌي",+ "langCodeIso_639_1": "sd",+ "langCodeIso_639_2": "snd",+ "countryCode": "pk",+ "slug": "snd",+ "textDirection": "rtl",+ "wpLocale": "snd",+ "code": "snd",+ "translated": 0+ },+ "so_SO": {+ "name": "Somali",+ "nativeName": "Afsoomaali",+ "langCodeIso_639_1": "so",+ "langCodeIso_639_2": "som",+ "countryCode": "so",+ "slug": "so",+ "googleCode": "so",+ "facebookLocale": "so_SO",+ "wpLocale": "so_SO",+ "code": "so",+ "translated": 0+ },+ "sq": {+ "name": "Albanian",+ "nativeName": "Shqip",+ "langCodeIso_639_1": "sq",+ "langCodeIso_639_2": "sqi",+ "countryCode": "al",+ "slug": "sq",+ "googleCode": "sq",+ "facebookLocale": "sq_AL",+ "wpLocale": "sq",+ "code": "sq",+ "translated": 99+ },+ "sq_XK": {+ "name": "Shqip (Kosovo)",+ "nativeName": "Për Kosovën Shqip",+ "langCodeIso_639_1": "sq",+ "countryCode": "xk",+ "slug": "sq-xk",+ "wpLocale": "sq_XK",+ "code": "sq-xk",+ "translated": 0+ },+ "sr_RS": {+ "name": "Serbian",+ "nativeName": "Српски језик",+ "langCodeIso_639_1": "sr",+ "langCodeIso_639_2": "srp",+ "countryCode": "rs",+ "slug": "sr",+ "pluralExpression": "(n % 10 == 1 && n % 100 != 11) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",+ "googleCode": "sr",+ "facebookLocale": "sr_RS",+ "wpLocale": "sr_RS",+ "code": "sr",+ "translated": 0+ },+ "srd": {+ "name": "Sardinian",+ "nativeName": "Sardu",+ "langCodeIso_639_1": "sc",+ "langCodeIso_639_2": "srd",+ "countryCode": "it",+ "slug": "srd",+ "facebookLocale": "sc_IT",+ "wpLocale": "srd",+ "code": "srd",+ "translated": 0+ },+ "ssw": {+ "name": "Swati",+ "nativeName": "SiSwati",+ "langCodeIso_639_1": "ss",+ "langCodeIso_639_2": "ssw",+ "countryCode": "sz",+ "slug": "ssw",+ "wpLocale": "ssw",+ "code": "ssw",+ "translated": 0+ },+ "su_ID": {+ "name": "Sundanese",+ "nativeName": "Basa Sunda",+ "langCodeIso_639_1": "su",+ "langCodeIso_639_2": "sun",+ "countryCode": "id",+ "slug": "su",+ "pluralExpression": "0",+ "googleCode": "su",+ "wpLocale": "su_ID",+ "code": "su",+ "translated": 0+ },+ "sv_SE": {+ "name": "Swedish",+ "nativeName": "Svenska",+ "langCodeIso_639_1": "sv",+ "langCodeIso_639_2": "swe",+ "countryCode": "se",+ "slug": "sv",+ "googleCode": "sv",+ "facebookLocale": "sv_SE",+ "wpLocale": "sv_SE",+ "code": "sv",+ "translated": 72+ },+ "sw": {+ "name": "Swahili",+ "nativeName": "Kiswahili",+ "langCodeIso_639_1": "sw",+ "langCodeIso_639_2": "swa",+ "slug": "sw",+ "googleCode": "sw",+ "facebookLocale": "sw_KE",+ "wpLocale": "sw",+ "code": "sw",+ "translated": 0+ },+ "syr": {+ "name": "Syriac",+ "nativeName": "Syriac",+ "countryCode": "iq",+ "slug": "syr",+ "wpLocale": "syr",+ "code": "syr",+ "translated": 0+ },+ "szl": {+ "name": "Silesian",+ "nativeName": "Ślōnskŏ gŏdka",+ "countryCode": "pl",+ "slug": "szl",+ "pluralExpression": "(n==1 ? 0 : n%10>=2 && n%10<=4 && n%100==20 ? 1 : 2)",+ "facebookLocale": "sz_PL",+ "wpLocale": "szl",+ "code": "szl",+ "translated": 0+ },+ "ta_IN": {+ "name": "Tamil",+ "nativeName": "தமிழ்",+ "langCodeIso_639_1": "ta",+ "langCodeIso_639_2": "tam",+ "countryCode": "in",+ "slug": "ta",+ "googleCode": "ta",+ "facebookLocale": "ta_IN",+ "wpLocale": "ta_IN",+ "code": "ta",+ "translated": 0+ },+ "ta_LK": {+ "name": "Tamil (Sri Lanka)",+ "nativeName": "தமிழ்",+ "langCodeIso_639_1": "ta",+ "langCodeIso_639_2": "tam",+ "countryCode": "lk",+ "slug": "ta-lk",+ "googleCode": "ta",+ "wpLocale": "ta_LK",+ "code": "ta-lk",+ "translated": 0+ },+ "tah": {+ "name": "Tahitian",+ "nativeName": "Reo Tahiti",+ "langCodeIso_639_1": "ty",+ "langCodeIso_639_2": "tah",+ "countryCode": "pf",+ "slug": "tah",+ "pluralExpression": "n > 1",+ "wpLocale": "tah",+ "code": "tah",+ "translated": 0+ },+ "te": {+ "name": "Telugu",+ "nativeName": "తెలుగు",+ "langCodeIso_639_1": "te",+ "langCodeIso_639_2": "tel",+ "slug": "te",+ "googleCode": "te",+ "facebookLocale": "te_IN",+ "wpLocale": "te",+ "code": "te",+ "translated": 0+ },+ "tg": {+ "name": "Tajik",+ "nativeName": "Тоҷикӣ",+ "langCodeIso_639_1": "tg",+ "langCodeIso_639_2": "tgk",+ "countryCode": "tj",+ "slug": "tg",+ "googleCode": "tg",+ "facebookLocale": "tg_TJ",+ "wpLocale": "tg",+ "code": "tg",+ "translated": 0+ },+ "th": {+ "name": "Thai",+ "nativeName": "ไทย",+ "langCodeIso_639_1": "th",+ "langCodeIso_639_2": "tha",+ "slug": "th",+ "pluralExpression": "0",+ "googleCode": "th",+ "facebookLocale": "th_TH",+ "wpLocale": "th",+ "code": "th",+ "translated": 0+ },+ "tir": {+ "name": "Tigrinya",+ "nativeName": "ትግርኛ",+ "langCodeIso_639_1": "ti",+ "langCodeIso_639_2": "tir",+ "countryCode": "er",+ "slug": "tir",+ "pluralExpression": "0",+ "wpLocale": "tir",+ "code": "tir",+ "translated": 0+ },+ "tl": {+ "name": "Tagalog",+ "nativeName": "Tagalog",+ "langCodeIso_639_1": "tl",+ "langCodeIso_639_2": "tgl",+ "countryCode": "ph",+ "slug": "tl",+ "googleCode": "tl",+ "facebookLocale": "tl_PH",+ "wpLocale": "tl",+ "code": "tl",+ "translated": 0+ },+ "tr_TR": {+ "name": "Turkish",+ "nativeName": "Türkçe",+ "langCodeIso_639_1": "tr",+ "langCodeIso_639_2": "tur",+ "countryCode": "tr",+ "slug": "tr",+ "pluralExpression": "n > 1",+ "googleCode": "tr",+ "facebookLocale": "tr_TR",+ "wpLocale": "tr_TR",+ "code": "tr",+ "translated": 0+ },+ "tt_RU": {+ "name": "Tatar",+ "nativeName": "Татар теле",+ "langCodeIso_639_1": "tt",+ "langCodeIso_639_2": "tat",+ "countryCode": "ru",+ "slug": "tt",+ "pluralExpression": "0",+ "facebookLocale": "tt_RU",+ "wpLocale": "tt_RU",+ "code": "tt",+ "translated": 0+ },+ "tuk": {+ "name": "Turkmen",+ "nativeName": "Türkmençe",+ "langCodeIso_639_1": "tk",+ "langCodeIso_639_2": "tuk",+ "countryCode": "tm",+ "slug": "tuk",+ "pluralExpression": "n > 1",+ "facebookLocale": "tk_TM",+ "wpLocale": "tuk",+ "code": "tuk",+ "translated": 0+ },+ "twd": {+ "name": "Tweants",+ "nativeName": "Twents",+ "countryCode": "nl",+ "slug": "twd",+ "wpLocale": "twd",+ "code": "twd",+ "translated": 0+ },+ "tzm": {+ "name": "Tamazight (Central Atlas)",+ "nativeName": "ⵜⴰⵎⴰⵣⵉⵖⵜ",+ "langCodeIso_639_2": "tzm",+ "countryCode": "ma",+ "slug": "tzm",+ "pluralExpression": "n > 1",+ "wpLocale": "tzm",+ "code": "tzm",+ "translated": 0+ },+ "ug_CN": {+ "name": "Uighur",+ "nativeName": "ئۇيغۇرچە",+ "langCodeIso_639_1": "ug",+ "langCodeIso_639_2": "uig",+ "countryCode": "cn",+ "slug": "ug",+ "textDirection": "rtl",+ "wpLocale": "ug_CN",+ "code": "ug",+ "translated": 0+ },+ "uk": {+ "name": "Ukrainian",+ "nativeName": "Українська",+ "langCodeIso_639_1": "uk",+ "langCodeIso_639_2": "ukr",+ "countryCode": "ua",+ "slug": "uk",+ "pluralExpression": "(n % 10 == 1 && n % 100 != 11) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",+ "googleCode": "uk",+ "facebookLocale": "uk_UA",+ "wpLocale": "uk",+ "code": "uk",+ "translated": 0+ },+ "ur": {+ "name": "Urdu",+ "nativeName": "اردو",+ "langCodeIso_639_1": "ur",+ "langCodeIso_639_2": "urd",+ "countryCode": "pk",+ "slug": "ur",+ "googleCode": "ur",+ "facebookLocale": "ur_PK",+ "textDirection": "rtl",+ "wpLocale": "ur",+ "code": "ur",+ "translated": 0+ },+ "uz_UZ": {+ "name": "Uzbek",+ "nativeName": "O‘zbekcha",+ "langCodeIso_639_1": "uz",+ "langCodeIso_639_2": "uzb",+ "countryCode": "uz",+ "slug": "uz",+ "pluralExpression": "0",+ "googleCode": "uz",+ "facebookLocale": "uz_UZ",+ "wpLocale": "uz_UZ",+ "code": "uz",+ "translated": 0+ },+ "vec": {+ "name": "Venetian",+ "nativeName": "Vèneto",+ "langCodeIso_639_2": "roa",+ "countryCode": "it",+ "slug": "vec",+ "wpLocale": "vec",+ "code": "vec",+ "translated": 0+ },+ "vi": {+ "name": "Vietnamese",+ "nativeName": "Tiếng Việt",+ "langCodeIso_639_1": "vi",+ "langCodeIso_639_2": "vie",+ "countryCode": "vn",+ "slug": "vi",+ "pluralExpression": "0",+ "googleCode": "vi",+ "facebookLocale": "vi_VN",+ "wpLocale": "vi",+ "code": "vi",+ "translated": 0+ },+ "wol": {+ "name": "Wolof",+ "nativeName": "Wolof",+ "langCodeIso_639_1": "wo",+ "langCodeIso_639_2": "wol",+ "countryCode": "sn",+ "slug": "wol",+ "pluralExpression": "0",+ "wpLocale": "wol",+ "code": "wol",+ "translated": 0+ },+ "xho": {+ "name": "Xhosa",+ "nativeName": "isiXhosa",+ "langCodeIso_639_1": "xh",+ "langCodeIso_639_2": "xho",+ "countryCode": "za",+ "slug": "xho",+ "googleCode": "xh",+ "facebookLocale": "xh_ZA",+ "wpLocale": "xho",+ "code": "xho",+ "translated": 0+ },+ "yor": {+ "name": "Yoruba",+ "nativeName": "Yorùbá",+ "langCodeIso_639_1": "yo",+ "langCodeIso_639_2": "yor",+ "countryCode": "ng",+ "slug": "yor",+ "googleCode": "yo",+ "facebookLocale": "yo_NG",+ "wpLocale": "yor",+ "code": "yor",+ "translated": 0+ },+ "zgh": {+ "name": "Tamazight",+ "nativeName": "ⵜⴰⵎⴰⵣⵉⵖⵜ",+ "langCodeIso_639_2": "zgh",+ "countryCode": "ma",+ "slug": "zgh",+ "pluralExpression": "n >= 2 && (n < 11 || n > 99)",+ "wpLocale": "zgh",+ "code": "zgh",+ "translated": 0+ },+ "zh_CN": {+ "name": "Chinese (China)",+ "nativeName": "简体中文",+ "langCodeIso_639_1": "zh",+ "langCodeIso_639_2": "zho",+ "countryCode": "cn",+ "slug": "zh-cn",+ "pluralExpression": "0",+ "googleCode": "zh-CN",+ "facebookLocale": "zh_CN",+ "wpLocale": "zh_CN",+ "code": "zh-cn",+ "translated": 61+ },+ "zh_HK": {+ "name": "Chinese (Hong Kong)",+ "nativeName": "香港中文版\t",+ "langCodeIso_639_1": "zh",+ "langCodeIso_639_2": "zho",+ "countryCode": "hk",+ "slug": "zh-hk",+ "pluralExpression": "0",+ "facebookLocale": "zh_HK",+ "wpLocale": "zh_HK",+ "code": "zh-hk",+ "translated": 0+ },+ "zh_SG": {+ "name": "Chinese (Singapore)",+ "nativeName": "中文",+ "langCodeIso_639_1": "zh",+ "langCodeIso_639_2": "zho",+ "countryCode": "sg",+ "slug": "zh-sg",+ "pluralExpression": "0",+ "wpLocale": "zh_SG",+ "code": "zh-sg",+ "translated": 0+ },+ "zh_TW": {+ "name": "Chinese (Taiwan)",+ "nativeName": "繁體中文",+ "langCodeIso_639_1": "zh",+ "langCodeIso_639_2": "zho",+ "countryCode": "tw",+ "slug": "zh-tw",+ "pluralExpression": "0",+ "googleCode": "zh-TW",+ "facebookLocale": "zh_TW",+ "wpLocale": "zh_TW",+ "code": "zh-tw",+ "translated": 30+ },+ "zul": {+ "name": "Zulu",+ "nativeName": "isiZulu",+ "langCodeIso_639_1": "zu",+ "langCodeIso_639_2": "zul",+ "countryCode": "za",+ "slug": "zul",+ "googleCode": "zu",+ "wpLocale": "zul",+ "code": "zul",+ "translated": 0+ }+}diff --git a/src/mixins/i18n-sync.js b/src/mixins/i18n-sync.jsdeleted file mode 100644index 443cd97e4..000000000--- a/src/mixins/i18n-sync.js+++ /dev/null@@ -1,44 +0,0 @@-import { sendWindowMessage } from '~/utils/send-message.js'-import config from '../../nuxt.config.js'--export default {- methods: {- /**- * Handles messages of type `localeSet` received by the `iframe`. Any- * other message types will be discarded.- *- * @param {string} type - the nature of the message received.- * @param {Object} value - the data sent with the message.- * @param {string} value.locale - wpLocale code of the locale, e.g. 'en_US'.- * @param {string} value.lang - the iso code for language- * (and sometimes country), e.g. 'en-US'.- * Default lang value on wp.org is 'en', and on wp.org/openverse - 'en-US'.- * @param {'rtl'|'ltr'} [value.dir] - the locale text direction.- */- async localeMsgHandler({ data: { type, value } }) {- if (type !== 'localeSet') return- // If the locale set by wp.org is 'en_US', not 'en', this is not necessary.- const wpLocaleValue = value.locale === 'en' ? 'en_US' : value.locale- const locale = this.$i18n.locales.find(- (item) => item.wpLocale === wpLocaleValue- )- if (locale) {- await this.$i18n.setLocale(locale.code)- document.documentElement.lang = locale.wpLocale.replace('_', '-')- // Always set `dir` property, default to 'ltr'- document.documentElement.dir = locale.dir === 'rtl' ? 'rtl' : 'ltr'- }- },- },- mounted() {- window.addEventListener('message', this.localeMsgHandler)- sendWindowMessage({- debug: config.dev,- type: 'localeGet',- value: {},- })- },- beforeDestroy() {- window.removeEventListener('message', this.localeMsgHandler)- },-}diff --git a/src/store/notification.js b/src/store/notification.jsdeleted file mode 100644index b37b1a73f..000000000--- a/src/store/notification.js+++ /dev/null@@ -1,30 +0,0 @@-import { SET_SHOW_NOTIFICATION } from '~/constants/mutation-types'-import { NOTIFICATION_ACTION } from '~/constants/action-types'-import local from '~/utils/local'--export const state = () => ({- // To test, set this to true- showNotification: false,- // i18n keys for the notification text and 'Okay' and 'Dismiss' buttons- // if notificationDismiss is null, only a cross icon is shown- // if notificationOkay is null, there is no action button on the notification- notificationText: 'header.notification.text',- notificationDismiss: null, //'header.notification.dismiss',- notificationOkay: null, // 'header.notification.okay',-})--/* eslint no-param-reassign: ["error", { "props": false }] */-export const mutations = {- [SET_SHOW_NOTIFICATION](_state, { showNotification }) {- _state.showNotification = showNotification- local.set(process.env.notificationStorageKey, showNotification)- },-}--export const actions = {- // Add any function that should be called when notification- // banner 'Okay' button is clicked here- [NOTIFICATION_ACTION]({ commit, dispatch }, params) {- console.log(commit, dispatch, params)- },-}