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

how to set localization in native #211

Closed
ivanzhang opened this issue May 27, 2016 · 7 comments
Closed

how to set localization in native #211

ivanzhang opened this issue May 27, 2016 · 7 comments

Comments

@ivanzhang
Copy link

after set options with localized title, while take photos.

'cancel'
'retake'
'use photo'

still cannot not be localized,
please point where to update these localizable strings ..

@marcshilling
Copy link
Contributor

You can specify options as follows to change the strings. Is this not sufficient?

var options = {
  title: 'Select Avatar',
  cancelButtonTitle: 'Cancel',
  takePhotoButtonTitle: 'Take Photo...',
}

@7daysofrain
Copy link

Hello,

Same problem here, the words "retake" and "use photo" can't be localized via options. Is there a place where we can change that literals?

Thanks!

@7daysofrain
Copy link

forget it. It's solved in #150 sorry

@marcshilling
Copy link
Contributor

Ah, I see - you were talking about the native iOS camera picker buttons. As @7daysofrain said, see #150 for the solution.

@deoqc
Copy link

deoqc commented Jun 7, 2016

@7daysofrain could you explain how to do it?

@7daysofrain
Copy link

Just go to the plist file in xcode, look for the location key and change it to your desired language code. In mine it was set to 'en' and i changed it to 'es'

@deoqc
Copy link

deoqc commented Jun 7, 2016

Thanks @7daysofrain

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

4 participants