Skip to content

3.11.0

Choose a tag to compare

@theSoenke theSoenke released this 04 Sep 11:58
· 13 commits to main since this release
c1cee4c

Added

  • Add optional formatArgs parameter to Translations.getString() and Translations.getQuantityString() for automatic translation placeholder replacement.
  • Add getPhraseString(), getPhraseText(), getPhraseStringArray(), getPhraseTextArray(), getPhraseQuantityString() and getPhraseQuantityText() extension functions to Context and Resources
  • Add optional wrapContext parameter to Phrase.getDelegate() to disable Activity Context wrapping.

Compose

  • Deprecate Phrase {} wrapper composable. Context Wrapping is not necessary any more to use Phrase translations in Compose.
  • Add phraseText(), phraseStringArray(), phraseTextArray(), phraseQuantityString() and phraseQuantityText() composables to complete the Phrase Translation support in Compose.