vy_language_tag 0.2.0-nullsafety copy "vy_language_tag: ^0.2.0-nullsafety" to clipboard
vy_language_tag: ^0.2.0-nullsafety copied to clipboard

outdated

A representation of a language tag as per IETF BCP 47 specs. It can be used in translation functions.

Changelog #

0.2.0-nullsafety #

  • Moved to null-safety
  • Change: The language value in LanguageTag constructor cannot be null
  • Created simple conversion methods to ICU code and updated those to POSIX. These are simple conversion methods that consider only the portion of codes (language, region and script) that are generally compatible and exclude the others. This does not mean that a code valid in BCP 47 is also a valid POSIX or ICU one. No check is done.

0.1.5 #

  • Small fixes

0.1.4 #

  • Updated copyrights

0.1.3 #

  • Prepared example and README files for pub.
  • Corrected some Lint warnings

0.1.2 #

  • Added Methods toJson() and fromJson() to LanguageTag class.
  • Added Methods toJson() and fromJson() to Region class.

0.1.1 #

  • Deprecated "simpleCode()" method
  • Added "lowercaseCode()" method (substitutes "simpleCode()")
  • Added "lowercasePosix()" method (lowercase subtags separated by underscores).

0.1.0 #

  • Initial version
0
likes
0
pub points
33%
popularity

Publisher

unverified uploader

A representation of a language tag as per IETF BCP 47 specs. It can be used in translation functions.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

vy_string_utils

More

Packages that depend on vy_language_tag