import { createI18n } from '@platform-modules/i18n';

export const he = {
  greeting: 'שלום, {name}',
  tagline: 'מתורגם דרך הקשר',
  switch_label: 'החלף שפה',
} as const;

export const en = {
  greeting: 'Hello, {name}',
  tagline: 'Rendered through context',
  switch_label: 'Switch language',
} as const;

export const i18n = createI18n({
  locales: ['he', 'en'] as const,
  defaultLocale: 'he',
  messages: { he, en },
});
