Skip to content

Commit

Permalink
Updated CHANGES.md for PluralLocalizationFormatter
Browse files Browse the repository at this point in the history
  • Loading branch information
axunonb authored Oct 16, 2021
1 parent 07c643c commit d90de7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,14 +203,14 @@ Best results can only be expected with clean HTML: balanced opening and closing
SmartFormat is not a fully-fledged HTML parser. If this is required, use [AngleSharp](https://anglesharp.github.io/) or [HtmlAgilityPack](https://html-agility-pack.net/).

### 19. Refactored `PluralLocalizationFormatter`
### 19. Refactored `PluralLocalizationFormatter` ([#209](https://github.com/axuno/SmartFormat/pull/209))
* Constructor with string argument for default language is obsolete.
* Property `DefaultTwoLetterISOLanguageName` is obsolete.
* Culture is now determined in this sequence (same as with `LocalizationFormatter`):<br/>
a) Get the culture from the `FormattingInfo.FormatterOptions`.<br/>
b) Get the culture from the `IFormatProvider` argument (which may be a `CultureInfo`) to `SmartFormatter.Format(IFormatProvider, string, object?[])`<br/>
c) The CultureInfo.CurrentUICulture<br/>
c) The `CultureInfo.CurrentUICulture`<br/>


v2.7.0
Expand Down

0 comments on commit d90de7a

Please sign in to comment.