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

Support qTranslate For Questions & Answers #9

Open
lesterchan opened this issue Jan 17, 2014 · 2 comments
Open

Support qTranslate For Questions & Answers #9

lesterchan opened this issue Jan 17, 2014 · 2 comments

Comments

@lesterchan
Copy link
Owner

http://wordpress.org/support/topic/wp-poll-and-qtranslate-translate-questions-and-answers?replies=1

@awsdib
Copy link

awsdib commented Mar 12, 2016

Hello, is there a fix yet? or maybe a quick soloution I can try to translate Questions and answers.

@kievmontana
Copy link

kievmontana commented Jan 21, 2018

Hi guys! @awsdib
Maybe this solution will help somebody.
In order to translate wp-polls fields with qtranslateX you need to use this construction in your wp-polls templates (in WordPress admin panel):
[:ru] Проголосовать [:] [:en] Vote [:]
[:ru] Просмотреть результаты [:] [:en] Show results [:]
Example:
</ul><p class="poll_submit_wrapper"><input type="button" name="vote" value=" [:ru] Проголосовать [:] [:en] Vote [:] " class="Buttons vote_submit" onclick="poll_vote(%POLL_ID%);" /></p><p class="vote_results"><a href="#ViewPollResults" onclick="poll_result(%POLL_ID%); return false;" title="Просмотреть результаты опроса">[:ru] Просмотреть результаты [:] [:en] Show results [:]</a></p></div>

Maybe it's not super-duper professional, but it works :)

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

No branches or pull requests

3 participants