public class ERXNonPluralFormLocalizer extends ERXLocalizer
ERXLocalizer
.
Overrides plurifiedString
from its super class
and cancels all plural form translations including the one provided by
plurifiedStringWithTemplateForKey
.
Good for languages that don't have plural forms (such as Japanese).
ERXLocalizer
のサブクラスである
スーパークラスのplurifiedString
をオーバーライドします。
全ての複数形を翻訳対象から取り除きます。
plurifiedStringWithTemplateForKey
を含む
複数形を持っていない言語のためです。 (例、日本語)
ERXLocalizer.Observer
com.webobjects.foundation.NSKeyValueCodingAdditions.DefaultImplementation, com.webobjects.foundation.NSKeyValueCodingAdditions.Utility
com.webobjects.foundation.NSKeyValueCoding._BooleanFieldBinding, com.webobjects.foundation.NSKeyValueCoding._BooleanMethodBinding, com.webobjects.foundation.NSKeyValueCoding._FieldBinding, com.webobjects.foundation.NSKeyValueCoding._ForwardingBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding._MethodBinding, com.webobjects.foundation.NSKeyValueCoding._NumberFieldBinding, com.webobjects.foundation.NSKeyValueCoding._NumberMethodBinding, com.webobjects.foundation.NSKeyValueCoding._ReflectionKeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCoding.MapImplementation, com.webobjects.foundation.NSKeyValueCoding.Null<T>, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.ValueAccessor
_dateFormatters, _numberFormatters, cache, KEY_LOCALIZER_EXCEPTIONS, language, locale, LocalizationDidResetNotification
Constructor and Description |
---|
ERXNonPluralFormLocalizer(String aLanguage) |
Modifier and Type | Method and Description |
---|---|
String |
plurifiedString(String name,
int count)
複数形の文字列を戻します (スーパークラス参照)
|
String |
toString()
このクラスの文字列表現
|
addEntriesToCache, addToCreatedKeys, applyRules, availableLanguages, cache, createdKeys, createLocalizerForLanguage, currentLocalizer, defaultLanguage, defaultLocalizer, defaultPlurifyRules, defaultSingularifyRules, dumpCreatedKeys, englishLocalizer, fallbackToDefaultLanguage, fileNamesToWatch, frameworkSearchPath, initialize, isLocalizationEnabled, language, languageCode, load, locale, localizedDateFormatForKey, localizedDisplayNameForKey, localizedDisplayNameForKey, localizedNumberFormatForKey, localizedStringForKey, localizedStringForKeyWithDefault, localizedTemplateStringForKeyWithObject, localizedTemplateStringForKeyWithObjectOtherObject, localizedValueForKey, localizedValueForKeyWithDefault, localizerForLanguage, localizerForLanguages, localizerForRequest, plurifiedStringWithTemplateForKey, plurify, plurifyRules, readPropertyListFromFileInFramework, resetCache, setAvailableLanguages, setCacheValueForKey, setCurrentLocalizer, setDefaultLanguage, setFileNamesToWatch, setFrameworkSearchPath, setIsLocalizationEnabled, setLocale, setLocalizedDateFormatForKey, setLocalizedNumberFormatForKey, setLocalizerForLanguage, singularifiedString, singularify, singularifyRules, takeValueForKey, takeValueForKeyPath, useLocalizedFormatters, valueForKey, valueForKeyPath
public ERXNonPluralFormLocalizer(String aLanguage)
public String plurifiedString(String name, int count)
plurifiedString
in class ERXLocalizer
name
- - 翻訳対象キーcount
- - 数public String toString()
ERXLocalizer
toString
in class ERXLocalizer
Copyright © 2002 – 2020 Project Wonder.