MessageFormat: use language and ignore formatting conventions.
The formatting conventions shouldn't change the rules used for singular/plural.
This commit is contained in:
parent
fc1d09374e
commit
89397bab16
@ -108,9 +108,7 @@ BMessageFormat::_Initialize(const UnicodeString& pattern)
|
||||
{
|
||||
UErrorCode error = U_ZERO_ERROR;
|
||||
Locale* icuLocale
|
||||
= fConventions.UseStringsFromPreferredLanguage()
|
||||
? BLanguage::Private(&fLanguage).ICULocale()
|
||||
: BFormattingConventions::Private(&fConventions).ICULocale();
|
||||
= BLanguage::Private(&fLanguage).ICULocale();
|
||||
|
||||
fFormatter = new MessageFormat(pattern, *icuLocale, error);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user