Skip to content

Instantly share code, notes, and snippets.

@yigitfindikli
Created July 23, 2021 14:01
Show Gist options
  • Save yigitfindikli/a532a4ff085fdb0b0185be54a855bf08 to your computer and use it in GitHub Desktop.
Save yigitfindikli/a532a4ff085fdb0b0185be54a855bf08 to your computer and use it in GitHub Desktop.
PrimeNG I18N API with ngx-translate
{
"demo": {
"greetings": "Hello!",
"en": "English",
"fr": "French",
"date": "Date",
"emptyMessage": "Empty Message",
"message": "Are you sure that you want to proceed?",
"confirm": "Confirm",
"name": "Name"
},
"primeng": {
"dayNamesMin": [
"Su",
"Mo",
"Tu",
"We",
"Th",
"Fr",
"Sa"
],
"monthNames": [
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December"
],
"emptyMessage": "No results found",
"emptyFilterMessage": "No results found - Filter",
"choose": "Choose",
"upload": "Upload",
"cancel": "Cancel",
"startsWith": "Starts with",
"contains": "Contains",
"notContains": "Not contains",
"endsWith": "Ends with",
"equals": "Equals",
"notEquals": "Not equals",
"clear": "Clear",
"apply": "Apply",
"matchAll": "Match All",
"matchAny": "Match Any",
"addRule": "Add Rule",
"removeRule": "Remove Rule",
"accept": "Yes",
"reject": "No"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment