WIP: Arabic localization.

This commit is contained in:
a.bouhuolia
2021-06-10 13:05:44 +02:00
50 changed files with 302 additions and 262 deletions

View File

@@ -1,4 +1,5 @@
import React from 'react';
import moment from 'moment';
import intl from 'react-intl-universal';
import { find } from 'lodash';
import rtlDetect from 'rtl-detect';
@@ -68,6 +69,7 @@ export default function AppIntlLoader({
},
});
}).then(() => {
moment.locale('ar-ly');
setIsLoading(false);
});
}, [currentLocale, setIsLoading]);