azhon / AppUpdate

Android App update library. Android版本更新库,简单、轻量、可随意定制
Apache License 2.0
2.23k stars 326 forks source link

Change Language to Spanish #147

Closed jfrangonzalez94 closed 1 year ago

jfrangonzalez94 commented 1 year ago

AppUpdate parameter Screenshot DownloadManager configuration

Change Language to Spanish Hello how are you, how can I customize the language, I want to change it to Spanish but it won't let me, I would really appreciate it.

Software version

azhon commented 1 year ago

Internationalization support (other languages only need to take the same name in the corresponding string.xml

jfrangonzalez94 commented 1 year ago

It does not support it friend, it only supports the English language, right now I tried my language which is Spanish and it defaults to Chinese.

image image

azhon commented 1 year ago

1、First copy these codes AppUpdate library all string resource 2、Paste these codes to your es-string.xml 3、Translate all strings inside to Spanish That's it, the app module defines the same string key and it will overwrite the one in the this library

jfrangonzalez94 commented 1 year ago

Thanks friend, I was able to solve with your solution

jfrangonzalez94 commented 1 year ago

Off topic friend, is this progress bar not enabled?

image

azhon commented 1 year ago

Need to set DownloadManager.forcedUpgrade = true

jfrangonzalez94 commented 1 year ago

Thank you very much friend, I was able to solve the 2 doubts, I appreciate it.