github zoontek/react-native-localize 3.7.0

11 hours ago
  • Export a dedicated typed function for Expo dynamic configuration (app.config.ts):
import type { ConfigContext, ExpoConfig } from "expo/config";
import localize from "react-native-localize/expo"; // use `require` in app.config.js

export default ({ config }: ConfigContext): ExpoConfig => ({
  plugins: [
    localize({
      locales: ["en", "fr"], // or { android: ["en"], ios: ["en", "fr"] }
    }),
  ],
});

Don't miss a new react-native-localize release

NewReleases is sending notifications on new releases.