Skip to content

Commit

Permalink
Merge pull request #555 from cboard-org/revert-552-fix-not-found-loca…
Browse files Browse the repository at this point in the history
…ledata

Revert "Fix for non standard language code like ME for Montenegrin language"
  • Loading branch information
martinbedouret authored Nov 14, 2019
2 parents 41eb0ae + 39997e0 commit 8f0b4d2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 241 deletions.
6 changes: 1 addition & 5 deletions src/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ APP_LANGS.forEach(lang => {
try {
localeData = require(`react-intl/locale-data/${locale}`);
} catch (e) {
try {
localeData = require(`./locale-data/${locale}`);
} catch (e) {
console.log(e.message);
}
console.log(e.message);
}
if (localeData) {
addLocaleData(localeData);
Expand Down
236 changes: 0 additions & 236 deletions src/locale-data/me.js

This file was deleted.

0 comments on commit 8f0b4d2

Please sign in to comment.