{ "manifests": { "symfony/ux-translator": { "manifest": { "bundles": { "Symfony\\UX\\Translator\\UxTranslatorBundle": [ "all" ] }, "copy-from-recipe": { "assets/": "assets/", "config/": "%CONFIG_DIR%/" } }, "files": { "assets/translator.js": { "contents": [ "/*", " * 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.", " */", "", "import { trans, getLocale, setLocale, setLocaleFallbacks } from '@symfony/ux-translator';", "import { localeFallbacks } from '../var/translations/configuration';", "", "setLocaleFallbacks(localeFallbacks);", "", "export { trans };", "export * from '../var/translations';", "" ], "executable": false }, "config/packages/ux_translator.yaml": { "contents": [ "ux_translator:", " # The directory where the JavaScript translations are dumped", " dump_directory: '%kernel.project_dir%/var/translations'", "" ], "executable": false } }, "ref": "3c29d2e6ff46e9c91cd82c95aea7ba61eb8d7fbe" } } }