android/lib/src/main/java/org/libreoffice/androidlib/LOActivity.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
New commits: commit 97aef783550e3e1e299bc5f23e203eac44a98763 Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> AuthorDate: Mon Feb 24 08:27:15 2020 +0100 Commit: Jan Holesovsky <ke...@collabora.com> CommitDate: Mon Feb 24 23:10:01 2020 +0100 android: log the used language when loading a document Change-Id: If9255b2c6c63e46ee64823d8c49f6704c2300ef3 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89322 Tested-by: Jan Holesovsky <ke...@collabora.com> Reviewed-by: Jan Holesovsky <ke...@collabora.com> diff --git a/android/lib/src/main/java/org/libreoffice/androidlib/LOActivity.java b/android/lib/src/main/java/org/libreoffice/androidlib/LOActivity.java index 8fe8636c7..4a7c23151 100644 --- a/android/lib/src/main/java/org/libreoffice/androidlib/LOActivity.java +++ b/android/lib/src/main/java/org/libreoffice/androidlib/LOActivity.java @@ -670,7 +670,11 @@ public class LOActivity extends AppCompatActivity { urlToLoad + "&closebutton=1"; // set the language - finalUrlToLoad += "&lang=" + getResources().getConfiguration().locale.toLanguageTag(); + String language = getResources().getConfiguration().locale.toLanguageTag(); + + Log.i(TAG, "Loading with language: " + language); + + finalUrlToLoad += "&lang=" + language; if (isDocEditable) { finalUrlToLoad += "&permission=edit"; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits