Project Wonder 2.0

er.extensions
Class ERXNonPluralFormLocalizer

java.lang.Object
  extended byer.extensions.ERXLocalizer
      extended byer.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 Class Summary
 
Nested classes inherited from class er.extensions.ERXLocalizer
ERXLocalizer.Observer
 
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
 
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
 
Field Summary
 
Fields inherited from class er.extensions.ERXLocalizer
_dateFormatters, _numberFormatters, cache, createdKeysLog, language, locale, LocalizationDidResetNotification
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding
_CLASS, NullValue
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator
 
Constructor Summary
ERXNonPluralFormLocalizer(String aLanguage)
           
 
Method Summary
 String plurifiedString(String name, int count)
           
 String toString()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ERXNonPluralFormLocalizer

public ERXNonPluralFormLocalizer(String aLanguage)
Method Detail

plurifiedString

public String plurifiedString(String name,
                              int count)
Overrides:
plurifiedString in class ERXLocalizer

toString

public String toString()
Overrides:
toString in class ERXLocalizer

Last updated: Do, Dez 9, 2004 • 12:46 PM CET

Copyright © 2002 – 2004 Project Wonder.