Skip to content

Instantly share code, notes, and snippets.

@yigitfindikli
Created July 23, 2021 14:03
Show Gist options
  • Save yigitfindikli/4094645117a5f0f0f67cfcee6f66ea54 to your computer and use it in GitHub Desktop.
Save yigitfindikli/4094645117a5f0f0f67cfcee6f66ea54 to your computer and use it in GitHub Desktop.
PrimeNG I18N API with ngx-translate
{
"demo": {
"greetings": "Bonjour!",
"en": "Anglaise",
"fr": "Français",
"date": "La datte",
"emptyMessage": "Message vide",
"message": "Êtes-vous sûr de vouloir continuer?",
"confirm": "Confirmer",
"name": "Nom"
},
"primeng": {
"dayNamesMin": [
"Di",
"Lu",
"Ma",
"Me",
"Je",
"Ve",
"Sa"
],
"monthNames": [
"Janvier",
"Février",
"Mars",
"Avril",
"Mai",
"Juin",
"Juillet",
"Août",
"Septembre",
"Octobre",
"Novembre",
"Décembre"
],
"emptyMessage": "Aucun résultat trouvé",
"emptyFilterMessage": "Aucun résultat trouvé - Filtre",
"choose": "Choisir",
"upload": "Télécharger",
"cancel": "Annuler",
"startsWith": "Commence avec",
"contains": "Contient",
"notContains": "Ne contient pas",
"endsWith": "Se termine par",
"equals": "Équivaut à",
"notEquals": "Pas égal",
"clear": "Dégager",
"apply": "Appliquer",
"matchAll": "Faire correspondre tout",
"matchAny": "Correspondre à n'importe quel",
"addRule": "Ajouter une règle",
"removeRule": "Supprimer la règle",
"accept": "Oui",
"reject": "Non"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment