Skip to content
This repository was archived by the owner on Apr 6, 2020. It is now read-only.

Conversation

@flippinjoe
Copy link

Previously QBValidator was using NSLocalizedStringFromTable to do localizations. Which works in the case that you're not using QBValidator as a .framework.

The solution is to first try to NSLocalizedStringFromTableInBundle using [NSBundle bundleForClass:[self class]]. This will get the key from the .framework bundle if available. If not, then go to the main bundle

Previously QBValidator was using `NSLocalizedStringFromTable` to do localizations.   Which works in the case that you're not using QBValidator as a .framework.

The solution is to first try to `NSLocalizedStringFromTableInBundle` using `[NSBundle bundleForClass:[self class]]`.  This will get the key from the .framework bundle if available.   If not, then go to the main bundle
@ryang1428
Copy link

+1

6 similar comments
@ndis1
Copy link

ndis1 commented Sep 29, 2015

+1

@ghost
Copy link

ghost commented Sep 29, 2015

+1

@rmigneco
Copy link

👍

@KVTaniguchi
Copy link

+1

@tysontune
Copy link

+1

@codecaffeine
Copy link

👍

@merkmaloney
Copy link

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants