Copy Symfony UX Translator module into to chill-bundles

This commit is contained in:
2025-03-17 20:45:48 +00:00
parent c8e09a28e6
commit 1344fc33e1
11 changed files with 354 additions and 4 deletions

View File

@@ -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';