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

Add localizations for ZomVerification* stuff #585

Open
tladesignz opened this issue Apr 12, 2018 · 3 comments
Open

Add localizations for ZomVerification* stuff #585

tladesignz opened this issue Apr 12, 2018 · 3 comments
Assignees

Comments

@tladesignz
Copy link
Collaborator

@N-Pex: Can you please explain the correct way to localize stuff like this:

https://github.com/zom/Zom-iOS/blob/21ef9a6fbdeaf801306fd4b330e0e2636e263898/Zom/Zom/Classes/View%20Controllers/ZomVerificationViewController.swift#L33-L46

@tladesignz tladesignz self-assigned this Apr 12, 2018
@N-Pex
Copy link
Collaborator

N-Pex commented Apr 17, 2018

@tladesignz We normally use the Zom-Android translations as blueprint for Zom-iOS, trying to keep the strings the same, i.e. if the translation should be done on the Android side if possible. However, to do it in iOS, select the project root, Editor->Export for Localization, tick the language(s) you want. This will generate XLIFF file(s) in the selected directory. Translate these XLIFFs using a tool of your choice (I am yet to find anything good besides emacs ;)) and then go back to XCode and do Editor->Import Localizations. Then hope for the best. All this used to be really horrible (crashing XCode etc) but now seems only almost horrible... (Apple still seems to live in a world were English is the only language)

@tladesignz
Copy link
Collaborator Author

@N-Pex So, that sounds like I want to have it from Android. Are these strings there, too, already?

@N-Pex
Copy link
Collaborator

N-Pex commented Apr 18, 2018

No yet unfortunately =)

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