Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
You want to change the text in only one language, but leave it in all others?
I tried this
Code:
<script type="text/javascript" charset="utf-8">
$(document).on('ready pjax:scriptcomplete',function(){
var lang = "{LANG}";
if(lang=='en') {
$('#ls-button-submit').text("My English Next Button");
$('#ls-button-previous').text("My English Back Button");
}
});
</script>
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
But ?
Why use JS if you need it for all surveys ?
Update the Surey theme is always better, no ?
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
Denis: Thank you, but I would like to touch the twig files as little as possible, because new code may be added during development and when I make an override, I miss these new developments.
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Sorry : i try to understand why update theme is not a good solution.
I think we can include buttons , then maybe more easy ?
>I may need it in multiple surveys, but each time the text in the end button may change...
OK : create a SurveyTheme by survey seems awfull …
Add the string in SurveyTheme options ?
Sometimes i think to add unused data in SkelVanilla options …
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
Last edit: 4 years 7 months ago by DenisChenu. Reason: >I may need it in multiple surveys, but each time the text in the end button may change...