mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +02:00
16 lines
591 B
JavaScript
16 lines
591 B
JavaScript
|
import { localeFallbacks } from '../var/translations/configuration';
|
||
|
import { trans, getLocale, setLocale, setLocaleFallbacks } from '@symfony/ux-translator';
|
||
|
/*
|
||
|
* This file is part of the Symfony UX Translator package.
|
||
|
*
|
||
|
* If folder "../var/translations" does not exist, or some translations are missing,
|
||
|
* you must warmup your Symfony cache to refresh JavaScript translations.
|
||
|
*
|
||
|
* If you use TypeScript, you can rename this file to "translator.ts" to take advantage of types checking.
|
||
|
*/
|
||
|
|
||
|
setLocaleFallbacks(localeFallbacks);
|
||
|
|
||
|
export { trans };
|
||
|
|
||
|
export * from '../var/translations';
|