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

take strings set via IBlocalizable into account #12

Open
gregoireLem opened this issue Apr 25, 2019 · 1 comment
Open

take strings set via IBlocalizable into account #12

gregoireLem opened this issue Apr 25, 2019 · 1 comment

Comments

@gregoireLem
Copy link

gregoireLem commented Apr 25, 2019

Type of issue: Request


Description:

I am using this lib : https://github.com/PiXeL16/IBLocalizable which allow localization from storyboard.

When I use nslocalizer "--find-unused" all string set via IBLocalizable in storyboard are considered as unused.
Is it possible to take IBlocalizable into account ?


@samdmarshall
Copy link
Owner

based on how the code is written now: no, i don't believe this could be achieved. this is because nslocalizer parses the xcode project file to find the source files of a particular target within the project. the code could be changed to also include nib/xib/storyboard files, but it would be a non-trivial change in both lines-of-code and code functionality. i am not in a position to do active development on this, but if you want to contribute a PR with the changes, i would consider merging it.

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