Skip to content

Add expo config plugin #301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 10, 2025
Merged

Add expo config plugin #301

merged 1 commit into from
Jul 10, 2025

Conversation

alextoudic
Copy link
Contributor

@alextoudic alextoudic commented Jul 2, 2025

Summary

This PR introduces an Expo config plugin that enables setting supported locales for both iOS and Android directly from the app config. This is necessary to properly support Expo CNG while taking advantage of app language settings, as explained in the README.

How it works

Screen record
https://github.com/user-attachments/assets/7c778f90-9fb9-45db-86be-6323997526cc

Test Plan

What's required for testing (prerequisites)?

Find example app on https://github.com/alextoudic/react-native-localize/tree/expo-plugin-demo/expo-example

What are the steps to test it (after prerequisites)?

Run example app

Compatibility

OS Implemented
iOS
Android

Checklist

  • I have tested this on a device and a simulator
  • I added the documentation in README.md
  • I added a sample use of the API in the example project (example/src/App.js)

@alextoudic alextoudic requested a review from zoontek as a code owner July 2, 2025 21:57
@zoontek zoontek merged commit 1531c0f into zoontek:master Jul 10, 2025
@zoontek
Copy link
Owner

zoontek commented Jul 10, 2025

Thank you! I merged it to cleaning it up: 9dc5c2b
I will release it once it's ready.

@zoontek
Copy link
Owner

zoontek commented Jul 11, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants