This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(translateProvider): add a preferredLanguage property
Add the "preferredLanguage" property in order to solve an initial language setting issue. At the configuration phase it's better to use this property instead of the "uses" method, because if "rememberLanguage" is set to true it may invoke a language file loading process twice (the language from the uses method and a stored language).
- Loading branch information
Showing
1 changed file
with
24 additions
and
1 deletion.
There are no files selected for viewing
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