Created
July 22, 2021 16:29
-
-
Save yigitfindikli/ce42158cff9b77df7b96e181a907267f to your computer and use it in GitHub Desktop.
PrimeNG I18N API with ngx-translate Doc Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
constructor(private config: PrimeNGConfig) {} | |
ngOnInit() { | |
this.config.setTranslation({ | |
accept: 'Accept', | |
reject: 'Cancel', | |
//translations | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment