Skip to main content

Internationalization

Supported locales are English and Vietnamese.

  • HTTP requests send Accept-Language. shared-i18n parses it (AcceptLanguageParser, SupportedLocale, I18nMessageService).
  • Notification copy is rendered on the server and stored already localized. User locale is projected into notification.user_locale from auth profile events.
  • The website has a Vietnamese tree under splick-web/app/(public)/vi.
  • Legal HTML is authored once and copied into the iOS SplickCore resources so the in-app legal pages match the site.

Do not concatenate English strings in clients when the server already returns a localized message key or body. Add the key in the shared catalog instead of hardcoding one language in a use case.