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

webview language #239

Closed
lutfianasari opened this issue Aug 16, 2017 · 2 comments
Closed

webview language #239

lutfianasari opened this issue Aug 16, 2017 · 2 comments

Comments

@lutfianasari
Copy link

Hi again,
I have a question,
how can we change the language of the webview?
for example, if we make a dropdown select on iOS, there will be a "Done" on the top right to close the dropdown. I want to make it into other language (in my case, into japanese).
Is the default of this plugin using english?
I tested it using iPhone 5s and 7, and set the language of the phone into japanese.
When I opened my html page using safari, the language is already in japanese.

done

@KojiNakamaru
Copy link
Member

The button utilizes the system setting language by adding the following to Info.plist.

    <key>CFBundleAllowMixedLocalizations</key>
    <true />

cf. https://stackoverflow.com/questions/3856158/uiwebview-localization/3896330#3896330

@lutfianasari
Copy link
Author

Thank you very much. Problem solved.
I'm sorry for my lack of researching.

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

No branches or pull requests

2 participants