Multi-language Translation Resource Exports (locales/index.ts)

yopass · website/src/shared/locales/index.ts · typescript · Apache-2.0
ui, lang:typescript, tag:translations

TypeScript barrel file exporting JSON translation resources for 15 languages providing type-safe i18n imports. Use when adding locale support to the frontend.

// Source: https://github.com/jhaals/yopass | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
// Export translation resources for type safety
export { default as en } from './en.json';
export { default as sv } from './sv.json';
export { default as de } from './de.json';
export { default as pl } from './pl.json';
export { default as ru } from './ru.json';
export { default as be } from './be.json';
export { default as fr } from './fr.json';
export { default as nl } from './nl.json';
export { default as es } from './es.json';

export { default as da } from './da.json';
export { default as pt } from './pt.json';
export { default as it } from './it.json';
export { default as no } from '.

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key