Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dialog in chinese #3

Open
dprh opened this issue Nov 8, 2019 · 2 comments
Open

Dialog in chinese #3

dprh opened this issue Nov 8, 2019 · 2 comments

Comments

@dprh
Copy link

dprh commented Nov 8, 2019

Hi, any possibility to change dialog title and button captions in another language?

@dprh
Copy link
Author

dprh commented Nov 8, 2019

Found a workaround by redefining default strings in my app, e.g in strings.xml:
Discovering new version
Download
Later
No new version
downloading:%1$d%%
download success, click install

But would be cleaner to put english as default and add chinese translation I think :)

@mdnbras
Copy link

mdnbras commented May 18, 2020

Just put in your strings.xml this:

    <string name="dialogPositiveButton" override="true">Download</string>
    <string name="dialogNegativeButton" override="true">Later</string>
    <string name="app_no_new_update" override="true">No new version</string>
    <string name="download_progress" override="true">downloading:%1$d%%</string>
    <string name="download_success" override="true">download success, click install</string>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants