public class ERXDutchLocalizer extends ERXLocalizer
ERXLocalizer
.
Overrides plurify
from its super class
and tries to pluralize the string according to dutch grammar rules.
+en voor de meeste substantieven De bank -> de banken Het boek -> de boeken voorbeelden in context -s wordt –zen de buis -> de buizen het huis -> de huizen voorbeelden in context -f wordt –ven de korf -> de korven voorbeelden in context -heid wordt –heden de grootheid -> de grootheden de waarheid -> de waarheden voorbeelden in context meervoud met -s +s voor substantieven met meer dan 1 lettergreep die eindigen op -e, -el, -en, -er, -em, -ie De wafel -> de wafels voorbeelden in context +s voor substantieven die eindigen op é, eau: Het cadeau -> De cadeaus Het café -> de cafés +’s voor substantieven die eindigen op –a, -i, -o, -u, -y: De paraplu -> De paraplu’s voorbeelden in context +’s voor afkortingen, +'en als afkorting eindigt –s of -x: tv -> tv's GPS -> GPS'en
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 |
---|
ERXDutchLocalizer(String aLanguage) |
Modifier and Type | Method and Description |
---|---|
protected String |
plurify(String name,
int count) |
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, plurifiedString, plurifiedStringWithTemplateForKey, plurifyRules, readPropertyListFromFileInFramework, resetCache, setAvailableLanguages, setCacheValueForKey, setCurrentLocalizer, setDefaultLanguage, setFileNamesToWatch, setFrameworkSearchPath, setIsLocalizationEnabled, setLocale, setLocalizedDateFormatForKey, setLocalizedNumberFormatForKey, setLocalizerForLanguage, singularifiedString, singularify, singularifyRules, takeValueForKey, takeValueForKeyPath, toString, useLocalizedFormatters, valueForKey, valueForKeyPath
public ERXDutchLocalizer(String aLanguage)
protected String plurify(String name, int count)
plurify
in class ERXLocalizer
Copyright © 2002 – 2020 Project Wonder.