Skip to content

Dialog in chinese #3

Open
Open

Description

@dprh

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

Activity

  1. dprh commented on Nov 8, 2019

    @dprh
    Author

    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 :)

  2. mdnbras commented on May 18, 2020

    @mdnbras

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions