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

Adds strings localization #24

Merged
merged 12 commits into from
Nov 26, 2017
Merged

Conversation

josefdolezal
Copy link
Contributor

This PR introduces CZ/EN localization discussed in #22. All hardcoded strings are now replaced with localized strings based on user's phone preferences.

Localization string keys are converted to name-spaced enum to ensure compile-time check of strings validity. The enums are generated with SwiftGen using aggregated Xcode target.

I have also added Danger action, which checks whether both languages are updated together.

✅ The README is updated.

@syky27
Copy link
Owner

syky27 commented Nov 10, 2017

Why did those images got replaced?

@AJTYBot
Copy link
Collaborator

AJTYBot commented Nov 10, 2017

1 Warning
⚠️ You might want to include a CHANGELOG entry.

Generated by 🚫 Danger

@josefdolezal
Copy link
Contributor Author

Uh, I forgot to mention it! I move all app Resources (assets catalog, splash screen story board and configuration plist) into Resources group - It makes the project structure cleaner.

It also looks like Travis is failing again for some reason.. o.O

@syky27
Copy link
Owner

syky27 commented Nov 13, 2017

No idea, why travis is failing those build logs are sometimes hell...

@josefdolezal
Copy link
Contributor Author

This is really weird, it works just fine on my laptop..

@josefdolezal
Copy link
Contributor Author

Cool, it works with new Xcode, I will squash the CI commits and it's ready to merge.

@syky27 syky27 merged commit 049072a into syky27:dev Nov 26, 2017
@syky27 syky27 mentioned this pull request Nov 26, 2017
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.

None yet

3 participants