Skip to content

Releases: phrase/phrase-android

3.9.0-rc4

03 Apr 11:39
1a46041
Compare
Choose a tag to compare
3.9.0-rc4 Pre-release
Pre-release
  • Fix fallback to bundled translations when the language changes and translations have not been downloaded yet

3.9.0-rc2

25 Mar 16:46
1a46041
Compare
Choose a tag to compare
3.9.0-rc2 Pre-release
Pre-release

Fixes

  • Fix for wrong locale change detection.

3.9.0-rc1

01 Feb 11:02
1a46041
Compare
Choose a tag to compare
3.9.0-rc1 Pre-release
Pre-release

Fixes

  • Detect all locale changes in system preferences or via Android APIs
  • Use correct locale chosen by user in per-app language settings

3.8.0

26 Jan 14:17
1a46041
Compare
Choose a tag to compare

Apply pending translation updates

Newly fetched translations will be shown on the next start of the app. In cases when the latest translations should be available immediately Phrase.applyPendingUpdates() makes the latest translations available right away. Translations cannot get automatically displayed in the UI, which has to be recreated.

This can be combined with listening for translation updates:

Phrase.updateTranslations(new TranslationsSyncCallback() {
    @Override
    public void onSuccess(boolean translationsChanged) {
      if(translationsChanged) {
         Phrase.applyPendingUpdates()
        // Custom logic to refresh UI
      }
    }

    @Override
    public void onFailure() {
    }
});

Fixes

  • Update org.apache.commons:commons-text to 1.11.0. Fix #70

3.7.4

20 Dec 11:05
1a46041
Compare
Choose a tag to compare
  • Fix using app locale from settings #49

3.7.3

27 Oct 08:32
43cdfb1
Compare
Choose a tag to compare
  • Fix view inflation issue with in FragmentContainerView #65

3.7.2

19 Oct 15:01
43cdfb1
Compare
Choose a tag to compare
  • Improve cache loading performance when calling Phrase.setup
  • Add configurable cache loading timeout with Phrase.setCacheLoadingTimeout(timeoutValue). The method expects milliseconds as a the input. As s a recommendation the value should not be bigger than 5000. This method should only be needed in rare circumstances.

3.7.1

17 Oct 14:36
43cdfb1
Compare
Choose a tag to compare

Fixes

  • Fix casting error to android.app.ContextImpl #25
  • Fix webview issue with AlertDialog #60

3.7.0

17 Oct 14:26
43cdfb1
Compare
Choose a tag to compare

New

  • Support in-app language change in appcompat #49

3.6.2

16 Oct 13:52
43cdfb1
Compare
Choose a tag to compare

New

Add improved logging capabilities with the ability to customise log levels

PhraseLog.logLevel = Severity.Debug

Fixes

  • Fix accessing translations in a custom view #62