• Resolved Fabio Bernini

    (@reteinformatica)


    Hi, the plugin is perfect, it just lacks a way to translate the button label and the “Copied” label.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @reteinformatica

    We sincerely apologize. This feature is not available in the current version, but we will add it in the next update.

    Thank you!

    Thread Starter Fabio Bernini

    (@reteinformatica)

    Thank you very much!<font _mstmutation=”1″></font>

    Thread Starter Fabio Bernini

    (@reteinformatica)

    I installed the new version but I see that there is still no option to translate the button text.

    Hi @reteinformatica

    We have only added the option to translate the “Copied” text. Translating label values is not supported because they can be changed dynamically.

    Please make sure you are using the latest version of the plugin and check whether “Copied” is being translated correctly. If you need any further assistance or have additional questions, feel free to let us know.

    Thank you!

    Hi, I just done the translation by editing “click-to-copy/languages/clipboard-en_US-ec8a27340a0ab960d3737433af4bcfae.json” and adding chinese characters in the blank, such as:

    {“translation-revision-date”:”YEAR-MO-DA HO:MI+ZONE”,”generator”:”WP-CLI\/2.11.0″,”source”:”build\/view.js”,”domain”:”messages”,”locale_data”:{“messages”:{“”:{“domain”:”messages”,”lang”:”en”,”plural-forms”:”nplurals=2; plural=(n != 1);”},”Copied”:[“複製成功”],”Click to copy”:[“複製”]}}}

    but seems like no use when clicking on the button, it showed “Copied” as well.

    How to translate it in the correct way?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Button translation’ is closed to new replies.