1import { createTranslator } from '@symfony/ux-translator'; 2import { messages, localeFallbacks } from './index.js'; 3 4const translator = createTranslator({ 5 messages, 6 localeFallbacks, 7 throwWhenNotFound: true 8}); 9 10// Allow you to use `import { trans } from './translator';` in your assets 11export const { trans } = translator;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.