Plugin Author
xootix
(@xootix)
Hi,
Added the WPML config file. There are few more changes to waitlist interface , kindly make a backup of your current waitlist folder & re – install the plugin.
Will soon release an official update.
The plugin was not WPML compatible & never claimed it to be.
Rating plugin 2 stars on the basis of some other plugin compatibility doesn’t seem to be fair. It questions plugin functionality to new users.
Most of the positive reviews are for quick support & we apologize for taking too long to respond to your query.
Hope to see your review updated.
Let me know if still WPML doesn’t get the button text.
Translation of the plugin (the ability to translate and run in one language other than english) is not the same as supporting WPML (the ability to run one wordpress site in multiple languages).
This problem is not about WPML, it’s a bug in its internationalization.
Where can we submit translations of the waitlist-woocommerce.po file in other languages?
Plugin Author
xootix
(@xootix)
Who says you can’t translate the plugin?
Translation guide is available since the first update.
You need to explore more.
https://translate.wordpress.org/projects/wp-plugins/waitlist-woocommerce
https://wordpress.org/plugins/waitlist-woocommerce/#how-to-translate
-
This reply was modified 1 year, 10 months ago by
xootix.
One can translate the plugin, but not completely – the ‘Join Waitlist’ button text is not internationalized. Please use the patch I provided in the original question’s thread.
Thanks for the pointer to the translations page – I’ve provided my strings for Czech. Please make a copy to the development version and add the i18n of the button.
BSR
(@biblestudyradio)
@xootix, I will wait for the update. If I remove it, I may lose all the translations that I have already done.
@hnhn2, I replied in the original thread. I could not find the file mentioned.
@biblestudyradio not sure how I can help with that. If you download the plugin archive (https://downloads.wordpress.org/plugin/waitlist-woocommerce.1.4.zip) and unzip it, you can list the files:
$ ls -1 waitlist-woocommerce/includes/xoo-wl-*
waitlist-woocommerce/includes/xoo-wl-core.php
waitlist-woocommerce/includes/xoo-wl-public.php
Similarly within a WordPress installation, these files are under
[web-root]/wp-content/plugins/waitlist-woocommerce/includes/.
Plugin Author
xootix
(@xootix)
@hnhn2 __($xoo_wl_gl_bntxt_value, ‘waitlist-woocommerce’)
That is not how translation works , you cannot put the variable directly into function __()
& expect it to be found by loco translate. Function only accepts “Strings”.
If you are not using WPML , the only way to change the button text is from the plugin options.
For the WPML, XML configuration file is available , you can translate the button text from WPML.
Refer to this link https://wpml.org/faq/translating-entries-in-wp_options/#translating
@biblestudyradio You won’t lose the translations , just need to sync/update the file again. But for the safer side , make a backup of your file & plugin folder.
-
This reply was modified 1 year, 10 months ago by
xootix.
BSR
(@biblestudyradio)
@xootix I have reinstalled it as you have instructed. The string showed up in WPML. However, the plugin stopped working. The waitlist button no longer show up in the individual product page. No English or any other language button. No button at all. Please advise ASAP. I have reversed back to the old version.
p.s. if I enable “Shop Button (Enable Wait List button on shop page)” the button show up there.
-
This reply was modified 1 year, 10 months ago by
BSR.
-
This reply was modified 1 year, 10 months ago by
BSR.
-
This reply was modified 1 year, 10 months ago by
BSR.