-
Create a subfolder in
lib/locales
. Please use 2 digit language codes and 2 digit country codes. E.g:it-IT
,fr-CA
Use codes from here -
Create an
index.js
and set metadata informations to_meta
property.
module.exports = {
_meta: {
id: "fr-FR", // Locale code
fallback: null, // Fallback locale code, if null, fallback will be the 'default' locale
language: "French", // Language name
country: "France", // Default country name
countryCode: "FR" // Default country code
},
names: require("./names"),
phone: require("./phone"),
address: require("./address"),
company: require("./company"),
internet: require("./internet")
};