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
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor
_dateFormatters, _numberFormatters, cache, KEY_LOCALIZER_EXCEPTIONS, language, locale, LocalizationDidResetNotification
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator
NullValue
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 – 2024 Project Wonder.