- Posts: 16
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Remove Localization for Previous and Next Buttons on Surveys
- bmdavis
- Topic Author
- Offline
- New Member
Less
More
4 years 9 months ago #186006
by bmdavis
Remove Localization for Previous and Next Buttons on Surveys was created by bmdavis
Is there a method to change the "Previous" and "Next" buttons to a universal default, rather than the localized values? My customer wants to use "<<<" and ">>>" to indicate previous and next, respectively.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
4 years 9 months ago #186009
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Remove Localization for Previous and Next Buttons on Surveys
Your customer is a … d…b …
No accessibility, unclear : what is lesser lesser lesser …
Else : it's easy : extend theme, look at navigation, edit navigator.twig file.
No accessibility, unclear : what is lesser lesser lesser …
Else : it's easy : extend theme, look at navigation, edit navigator.twig file.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: bmdavis
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12785
- Thank you received: 3940
4 years 9 months ago #186010
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Remove Localization for Previous and Next Buttons on Surveys
Have a look here:
www.limesurvey.org/forum/can-i-do-this-w...o-next-or-any-others
You may adapt it to the "next" button.
Joffm
www.limesurvey.org/forum/can-i-do-this-w...o-next-or-any-others
You may adapt it to the "next" button.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: bmdavis
The topic has been locked.
- bmdavis
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 1
4 years 9 months ago #186017
by bmdavis
Replied by bmdavis on topic Remove Localization for Previous and Next Buttons on Surveys
Thanks for the help guys! I will look into both those methods. Editing the twig template seems like a good way to get this done.
Sometimes the customer wants things that don't make sense... in this case they are just trying to avoid disagreements or extra work on various translations and simplify/standardize across languages.
Sometimes the customer wants things that don't make sense... in this case they are just trying to avoid disagreements or extra work on various translations and simplify/standardize across languages.
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12785
- Thank you received: 3940
4 years 9 months ago #186021
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Remove Localization for Previous and Next Buttons on Surveys
Hi, bmdavis,
Denis' hint is much better.
In "navigator.twig" you only have to change
{{ gT("Previous") }} to "< < <"
{{ gT("Next") }} resp. {{ gT("Submit") }} to "> > >".
And in my opinion you should add a "style='font-weight:bold';" to make it look better.
Best regards
Joffm
Denis' hint is much better.
In "navigator.twig" you only have to change
{{ gT("Previous") }} to "< < <"
{{ gT("Next") }} resp. {{ gT("Submit") }} to "> > >".
And in my opinion you should add a "style='font-weight:bold';" to make it look better.
Best regards
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: bmdavis
The topic has been locked.
- bmdavis
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 1
4 years 9 months ago #186022
by bmdavis
Replied by bmdavis on topic Remove Localization for Previous and Next Buttons on Surveys
Thanks Joffm, I did the twig edit exactly as you described and it worked. I also like your suggestion to make the text bold.Joffm wrote: In "navigator.twig" you only have to change
{{ gT("Previous") }} to "< < <"
{{ gT("Next") }} resp. {{ gT("Submit") }} to "> > >".
And in my opinion you should add a "style='font-weight:bold';" to make it look better.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
4 years 9 months ago #186104
by DenisChenu
In what language Previous and Next are not translated ?
Else
to
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Remove Localization for Previous and Next Buttons on Surveys
Maybe , but I think it's also my role as a provider to give good accessibility and usability tips.Sometimes the customer wants things that don't make sense...
But,bmdavis wrote: in this case they are just trying to avoid disagreements or extra work on various translations and simplify/standardize across languages.
In what language Previous and Next are not translated ?
Else
Code:
{{ gT("Previous") }}
Code:
<span class="sr-only">{{ gT("Previous") }}</span><i class="fa fa-angle-double-left fa-3" aria-hidden="true"></i>
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12785
- Thank you received: 3940
4 years 9 months ago #186114
by Joffm
Feel free to participate in the translation.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Remove Localization for Previous and Next Buttons on Surveys
But,
In what language Previous and Next are not translated ?
Feel free to participate in the translation.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
4 years 9 months ago #186129
by jelo
If you look at your browser navigation, do you see <- -> or text, to navigate to the previous or next page?
I still see a purpose for "<" ">" navigation labels (combined with tags with explain the purpose for accessibility).
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Remove Localization for Previous and Next Buttons on Surveys
DenisChenu wrote: Maybe , but I think it's also my role as a provider to give good accessibility and usability tips.
If you look at your browser navigation, do you see <- -> or text, to navigate to the previous or next page?
I still see a purpose for "<" ">" navigation labels (combined with tags with explain the purpose for accessibility).
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.