Skip to content

Version 0.12.0

Latest

Choose a tag to compare

@Ygg01 Ygg01 released this 23 Oct 17:00
937eeff

What's changed

Linguini.Bundle

  • Introduce LangLocId as a way to represent a language locale identifier instead of CultureInfo.
  • Adds AsString(IFluentContext) method to FluentBundle to allow extra formatting functionality.
  • Introduced DATETIMEV0 and NUMBERSV0 functions, that can be added to a bundle. For future info see #79
  • Remove obsolete LinguiniBuilder steps

Linguini.Serialization

  • Finish implementation for all serializers.

Linguini.Shared

  • Add LanguageNegotiator.Algorithm solution that determines language locId and deterimines the best locale to use.
  • Introduces InvariantContext as a default context for FluentNumber and FluentDateTime.
  • Introduces LangLocId as a way to represent a language locale identifier instead of CultureInfo.
  • Introduces LangLocParser to parse LangLocId from string.
  • Adds IFluentContext interface to allow extra formatting functionality.
  • Adds FluendDateTime stub for parsing date/time.
  • Adds FluentDateTimeOptions and FluentNumberOptions for DATETIMEV0 and NUMBERSV0 functions.

Linguini.Syntax

  • Add Equals and == operators to all Ast types.