er.extensions
Class ERXNonPluralFormLocalizer
java.lang.Object
er.extensions.ERXLocalizer
er.extensions.ERXNonPluralFormLocalizer
- All Implemented Interfaces:
- NSKeyValueCoding, NSKeyValueCodingAdditions
- public class ERXNonPluralFormLocalizer
- extends ERXLocalizer
ERXNonPluralFormLocalizer is a subclass of ERXLocalizer
.
Overrides plurifiedString
from its super class
and cancels all plural form translations includind the one provided by
plurifiedStringWithTemplateForKey
.
Good for languages that don't have plural forms (such as Japanese).
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCoding |
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor |
Methods inherited from class er.extensions.ERXLocalizer |
availableLanguages, createdKeys, createLocalizerForLanguage, currentLocalizer, defaultLanguage, defaultLocalizer, fakeSessionForLanguage, fakeSessionForSession, fileNamesToWatch, frameworkSearchPath, initialize, isLocalizationEnabled, language, load, locale, localizedDateFormatForKey, localizedNumberFormatForKey, localizedStringForKey, localizedStringForKeyWithDefault, localizedTemplateStringForKeyWithObject, localizedTemplateStringForKeyWithObjectOtherObject, localizedValueForKey, localizedValueForKeyWithDefault, localizerForLanguage, localizerForLanguages, localizerForRequest, localizerForSession, plurifiedStringWithTemplateForKey, readPropertyListFromFileInFramework, resetCache, setAvailableLanguages, setCurrentLocalizer, setDefaultLanguage, setFileNamesToWatch, setFrameworkSearchPath, setIsLocalizationEnabled, setLocale, setLocalizedDateFormatForKey, setLocalizedNumberFormatForKey, setLocalizerForLanguage, takeValueForKey, takeValueForKeyPath, valueForKey, valueForKeyPath |
ERXNonPluralFormLocalizer
public ERXNonPluralFormLocalizer(String aLanguage)
plurifiedString
public String plurifiedString(String name,
int count)
- Overrides:
plurifiedString
in class ERXLocalizer
toString
public String toString()
- Overrides:
toString
in class ERXLocalizer
Copyright © 2002 – 2004 Project Wonder.