Skip to content
All essays
CraftFebruary 20, 20257 min

i18n and l10n: Multi-language Applications

Build multi-language applications. Learn internationalization and localization best practices.

Ü
Ümit Uz
Mobile & Full Stack Developer

i18next Setup

javascript
import i18n from 'i18next';
import { initReactI18next } from 'react-i18next';

initReactI18next({
  resources: {
    en: { translation: { hello: 'Hello' } },
    tr: { translation: { hello: 'Merhaba' } },
  },
  lng: 'en',
  fallbackLng: 'en',
});

Date/Number Formatting

javascript
import { Intl } from 'intl';

new Intl.DateTimeFormat('tr-TR').format(new Date());
// "17.02.2025"

RTL Support

html
<html dir="rtl" lang="ar">

Think global, act local!

Related essays

Next essay
Test-Driven Development Mastery: TDD Workflows and Best Practices