-
Notifications
You must be signed in to change notification settings - Fork 766
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 support for localised storyboards, nibs, and other resources #155
Comments
Very good point, what we need to do this:
|
If a missing segue in one localisation leads to a runtime crash, we could not generate that segue and print a warning instead. Similar to how R.string now skips and warns about duplicate names. |
I've looked a bit further into this issue and detecting localization variants seems quite easy, so we know what files are localized versions of each other. I'm not completely sure if "just merging" is the way to go. I think often the optional return type will help us out, but not sure it will solve everything. I'll start out on a branch with merging all variants and then see what happens. :) |
Thanks for ipdate! Please, let me know when you need testing this feature. |
Is this fixed/merged? I recently added localization to my project and everything broke. Not having this listed as a bug is a huge pain. I'm now going through my project and replacing 30+ errors with explicit |
Happened to me the same, used Rswift all over the code and now that I am localizing I need to undo it.. :( |
I'm very sorry to hear you ran into this while adding localization. I can see how that is a annoying thing to do. There is a local branch on my machine with this feature in it, but it still contains some bugs that I didn't had the time to look at it so no it is not yet merged/fixed. On the flip side; It's a free and open source library, all development is done in the spare time of the maintainers without any payment received from any party. It's all love for the platform, community and library that drives us to build this. I can't promise any timeline, but you certainly made us aware that this is a big thing for quite some users and I'll see when I can make some time to pickup the last work on that branch again. It won't be on the next few weeks though since I'm on a holiday first. |
I have the same annoying issue =(. There are 42 warnings like this: |
Any progress on this? Any work-arounds? |
Hi! Still not implemented? please share some workarounds |
At the moment generator skips resources with the same file name. But this limits us with localizing storyboards and nibs. Would be great if R.swift support them. What are the caveats?
The text was updated successfully, but these errors were encountered: