mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
Copy Symfony UX Translator module into to chill-bundles
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
// @ts-ignore Cannot find module (when used within an app)
|
||||
import { trans, setLocale, setLocaleFallbacks } from "@symfony/ux-translator";
|
||||
import { trans, setLocale, setLocaleFallbacks } from "./ux-translator";
|
||||
|
||||
setLocaleFallbacks({"en": "fr", "nl": "fr", "fr": "en"});
|
||||
setLocale('fr');
|
||||
|
||||
export { trans };
|
||||
// @ts-ignore Cannot find module (when used within an app)
|
||||
export * from '../var/translations';
|
||||
|
Reference in New Issue
Block a user