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

Make button texts and urls translatable with WPML. #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dgwatkins
Copy link

Hi, this is David from the WPML compatibility team. We have had a support request regarding the translation of your plugin and came up with the following pull request to satisfy the need.

The merge request consists of:

  • a wpml-config.xml file that tells WPML which elements need to be translated.

  • moved some code from the constructor to the 'init' hook, so that WPML has had the chance to hook into get_option to give you translated strings.

The issue was originally reported in our support forum:
https://wpml.org/forums/topic/how-to-translate-customdynamic-string-in-stickybuttons-plugin

@SerenaButler
Copy link

I really would like to see WPML support, unfortunately this is resulting in stickybuttons not shown anymore ...:-(

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

Successfully merging this pull request may close these issues.

2 participants