Foxit PDF SDK
9.1
|
Class Methods | |
(void) | + addLanguage:table:languageAbbr: |
Add the languages you want to support. You need to call the setup method before initialization or you may not be able to reach the expected. More... | |
(NSString *) | + languageAbbr |
Get language abbreviation;. More... | |
(NSString *) | + tableName |
Get the receiver’s string table to search;. More... | |
Properties | |
BOOL | allowLanguageBranch |
Language branches are allowed. For example "es" can use "es-419" ,the defualt is YES. More... | |
NSUInteger | currentLanguage |
Optional language set and get. The default is 0~10. This is a static variable. You need to call the setup method before initialization or you may not be able to reach the expected. More... | |
If you want to use some kind of our existing language. Example: [FSLocalization setCurrentLanguage:FSLocalizationLanguageOptionalEnglish];
If you want to add your own language resources. Example: [FSLocalization addLanguage:11 table:"your tableName" languageAbbr:@"your language resources"]; [FSLocalization setCurrentLanguage:11];//If you want to follow system changes, remove this line of code.
You can also cover our language. Example: [FSLocalization addLanguage:FSLocalizationLanguageOptionalEnglish table:"your tableName" languageAbbr:@"your language resources"]; [FSLocalization setCurrentLanguage:FSLocalizationLanguageOptionalEnglish];//If you want to follow system changes, remove this line of code.
+ (void) addLanguage: | (NSUInteger) | language | |
table: | (nonnull NSString *) | tableName | |
languageAbbr: | (nonnull NSString *) | abbr | |
Add the languages you want to support. You need to call the setup method before initialization or you may not be able to reach the expected.
[in] | language | The language of your custom ID, unique, you can override our definition. |
[in] | tableName | The receiIver’s string table to search, Can't be empty. |
[in] | abbr | Abbreviation for language resources.For example, the prefix "en" of "en.lproj". |
+ (NSString *) languageAbbr |
Get language abbreviation;.
+ (NSString *) tableName |
Get the receiver’s string table to search;.
|
readwritenonatomicassign |
Language branches are allowed. For example "es" can use "es-419" ,the defualt is YES.
|
readwritenonatomicassign |
Optional language set and get. The default is 0~10. This is a static variable. You need to call the setup method before initialization or you may not be able to reach the expected.