React localized application

Language Manager :


Localized Strings :

a. Dico.js => contains used strings inside application in the different supported localization.

b. Localizations.js => contains supported localizations.

c. LocalizedString.js => a localized string object : { key, language, value }. We access to a string value by (key, language).

d. LocalizedStringUtils.js => contains utils methods for localized strings.


Provider :


Consumer :



js best practices reactjs