Skip to content
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

POC: native camera localization #2853

Closed

Conversation

jcesarmobile
Copy link
Member

This is a POC for how the plugin localization is done in the native way.

This would require the user to add the native localizations in their project.

For iOS this is creating a Localizable.strings file with this content:

"From Photos" = "From Photos";
"Take Picture" = "Take Picture";

And then localize the file adding supported languages to the project and replacing the strings after the = (the ones before are keys that also act as default value)

For Android it requires adding in the user project localized strings.xml files and adding

<string name="take_picture">translation for Take Picture</string>
<string name="from_photos">translation for From Photos</string>

@jcesarmobile
Copy link
Member Author

closing in favor of #2631

@jcesarmobile jcesarmobile deleted the poc-native-localization branch April 30, 2020 17:02
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.

1 participant