mediumExtra#95

i18n with expo-localization

Prompt

Use expo-localization to detect the device language with the modern getLocales() API. Create a simple i18n object that returns translated strings for English and Spanish, falling back to English for unsupported languages.

Hints

Solution

Your Code

10 min

Tests

Click Run to test your code