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

Localized Strings in UITableViewCell #165

Open
Dragonspell99 opened this issue Nov 28, 2018 · 1 comment
Open

Localized Strings in UITableViewCell #165

Dragonspell99 opened this issue Nov 28, 2018 · 1 comment

Comments

@Dragonspell99
Copy link

Dragonspell99 commented Nov 28, 2018

I am trying to use localized strings directly from by "Localizable.strings" file as described in the readme file.

It works fine for child views that are declared in my top level view controller. However, when I try to do so for child views within a UITableViewCell that is declared inline within a UITableView within that same ViewController, I get an error saying that the string cannot be found.

Any ideas what may be causing the problem? My layout is fairly large so I haven't pasted the code here but I can provide more details if required.

@nicklockwood
Copy link
Owner

@Dragonspell99 I have encountered a few bugs around this previously to do with the table cell not sharing the scope of the containing Layout. I thought I'd fixed them all, but I guess not.

If you could provide concrete steps to reproduce the issue that would be helpful.

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