When a language is defined, the system will check if there is a '.json' file created for it, otherwise it will generate the file with the default content.
locale.setLocale('es'); // Language changed to 'es' (Spanish).
{ "hello": "Hi $1" }
Last updated 3 years ago