Compare commits
No commits in common. "eb8c837a8d474653583d4934737eed45883a55a1" and "01323ea87a9ef371628313f4a8144b0956da6e33" have entirely different histories.
eb8c837a8d
...
01323ea87a
8
assets/translator.ts
Normal file
8
assets/translator.ts
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
import { trans, getLocale, setLocale, setLocaleFallbacks } from '@symfony/ux-translator';
|
||||||
|
|
||||||
|
setLocaleFallbacks({"en": "fr", "nl": "fr", "fr": "en"});
|
||||||
|
setLocale('fr');
|
||||||
|
|
||||||
|
export { trans };
|
||||||
|
|
||||||
|
export * from "../var/translations";
|
@ -1,3 +1,3 @@
|
|||||||
ux_translator:
|
ux_translator:
|
||||||
# The directory where the JavaScript translations are dumped
|
# The directory where the JavaScript translations are dumped
|
||||||
dump_directory: '%kernel.project_dir%/vendor/chill-project/chill-bundles/var/translations'
|
dump_directory: '%kernel.project_dir%/var/translations'
|
Loading…
Reference in New Issue
Block a user