Smartling / ios-i18n

The ios-i18n library provides seamless integration of plurals into iOS 6 apps.
http://www.smartling.com
Apache License 2.0
205 stars 41 forks source link

Pluralization support does not cache string files read from disk #13

Closed Voxar closed 10 years ago

Voxar commented 10 years ago

https://github.com/Smartling/ios-i18n/blob/master/Smartling.i18n/Smartling.i18n/NSBundle%2BSmartling_i18n.m#L50

NSDictionary *dict = nil;
if (tableName) {
    dict = [NSDictionary dictionaryWithContentsOfFile:tableName];
}

Imagine the common use case of localizing a string for a cell title.

Voxar commented 10 years ago

Here is a breakdown if an isolated case. In the sample range I'm scrolling in a tableview with a title with a localized string. I have 3 entries in my strings file.

screen shot 2014-04-30 at 13 08 25