Compare commits

..

No commits in common. "eb8c837a8d474653583d4934737eed45883a55a1" and "01323ea87a9ef371628313f4a8144b0956da6e33" have entirely different histories.

2 changed files with 9 additions and 1 deletions

8
assets/translator.ts Normal file
View 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";

View File

@ -1,3 +1,3 @@
ux_translator:
# 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'