Languages
Add new languages
1. Backend Server
const locales = Object.freeze({
en: "en",
id: "id",
es: "es",
hi: "hi",
ru: "ru",
pt: "pt",
zh: "zh",
ja: "ja"
// add new locale id
})const langValidation = Object.freeze({
required: {
"en": "The _attribute_ is required",
"id": "_attribute_ wajib di isi",
"es": "El campo _attribute_ es obligatorio",
"hi": "_attribute_ आवश्यक है",
"ru": "Поле _attribute_ является обязательным",
"pt": "O campo _attribute_ é obrigatório",
"zh": "_attribute_ 必填",
"ja": "_attribute_ は必須です"
// add new translation with new locale id
},
email: {
"en": "The _attribute_ must be in E-mail format",
............2. Bliss App & Admin App
Last updated