parent
a8a0bf7271
commit
98e26de42e
@ -0,0 +1,11 @@
|
||||
import i18next from 'i18next'
|
||||
import RNLanguages from 'react-native-languages';
|
||||
import resources from './resources';
|
||||
|
||||
export const initTranslation = ()=>{
|
||||
i18next.init({
|
||||
compatibilityJSON: 'v3',
|
||||
lng: RNLanguages.language,
|
||||
resources: resources
|
||||
})
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
export default {
|
||||
"mobileApp.portals.list.empty.label": "There aren't portals.",
|
||||
"mobileApp.portals.list.add.button.label": "New Portal",
|
||||
"mobileApp.portals.fields.name.label": "Portal Name",
|
||||
"mobileApp.portals.fields.name.placeholder": "BigBlueButton demo",
|
||||
"mobileApp.portals.fields.url.label": "Server URL",
|
||||
"mobileApp.portals.fields.url.placeholder": "https://demo.bigbluebutton.org",
|
||||
"mobileApp.portals.addPortalPopup.confirm.button.label": "Add Portal",
|
||||
"mobileApp.portals.drawerNavigation.button.label": "Portals",
|
||||
"mobileApp.portals.addPortalPopup.validation.emptyFilds": "Empty Fields",
|
||||
"mobileApp.portals.addPortalPopup.validation.portalNameAlreadyExists": "Name Already Exists"
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
import enUS from "./en-US";
|
||||
import ptBR from "./pt-BR";
|
||||
|
||||
export default {
|
||||
'en-US': {
|
||||
translation: enUS
|
||||
},
|
||||
'pt-BR': {
|
||||
translation: ptBR
|
||||
}
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
export default {
|
||||
"mobileApp.portals.list.empty.label": "Não há portais.",
|
||||
"mobileApp.portals.list.add.button.label": "Novo Portal",
|
||||
"mobileApp.portals.fields.name.label": "Nome do Portal",
|
||||
"mobileApp.portals.fields.name.placeholder": "BigBlueButton demo",
|
||||
"mobileApp.portals.fields.url.label": "URL do Servidor",
|
||||
"mobileApp.portals.fields.url.placeholder": "https://demo.bigbluebutton.org",
|
||||
"mobileApp.portals.addPortalPopup.confirm.button.label": "Adicionar Portal",
|
||||
"mobileApp.portals.drawerNavigation.button.label": "Portais",
|
||||
"mobileApp.portals.addPortalPopup.validation.emptyFilds": "Campos Vazios",
|
||||
"mobileApp.portals.addPortalPopup.validation.portalNameAlreadyExists": "Nome Já Existe"
|
||||
}
|
Loading…
Reference in new issue