i18next/i18next

View on GitHub
examples/typescript/i18n/en/ns1.ts

Summary

Maintainability
A
0 mins
Test Coverage
const ns1 = {
  title: 'Welcome!',
  description: {
    part1: 'This is just a basic example of how to use i18next with typescript',
    part2: '😉',
  },
  inter: 'interpolated {{val}}',
  some: 'ctx',
  some_me: 'ctx2',
  some_1234: 'ctx3',
  pl_one: 'sing',
  pl_other: '{{count}} plur',
} as const;

export default ns1;