Page 1 of 1

Change menu Drop down Wording

Posted: Thu Oct 05, 2017 10:21 pm
by BobW55
Change the text on a drop down menu.

See also this post: viewtopic.php?f=52&t=94
Capture3.PNG
Capture3.PNG (37.8 KiB) Viewed 2683 times
Is it possible to change the text that is displayed on the drop down?

For me, Air Quality US needs to read "Air Quality Detroit"
and Air Quality World needs to read "Air Quality Port Huron"
I am not opposed to editing the Block.php, but I know Jachym has some names due to language translations, and I don't want to screw things up.
The more you play with this, the more you have to really read things, but I am getting there. I think I have done my home page layout 20 times already.

Re: Change menu Drop down Wording

Posted: Fri Oct 06, 2017 8:49 am
by Jachym
The problem in this case is that I had two options:

1) let you specify the name - without the possibility to have it translated
2) set standardized names, which are in the lang files

I went for the latter