- Posts: 5
- Home
- Forum
- Community Forum
- Questions
- Change default order assets
- Forum
- Community Forum
- Questions
- Installation/Upgrade
- Solidres 4.1 – Change "1 Room, 2 Rooms" dropdown text to custom label
Solidres 4.1 – Change "1 Room, 2 Rooms" dropdown text to custom label
- Webdesign
-
Topic Author
- Offline
Less
More
1 month 2 weeks ago #21788
by Webdesign
Solidres 4.1 – Change "1 Room, 2 Rooms" dropdown text to custom label was created by Webdesign
Hello,
we are using Solidres 4.1 with Joomla 6.
We would like to change the room quantity dropdown from:
1 Room
2 Rooms
3 Rooms
to:
1 Accommodation/Pitch
2 Accommodations/Pitches
We already tried the following:
Joomla language overrides (SR_ROOM, SR_ROOMS)
Editing default_checkavailability.php
Editing the German language file
Searching for the corresponding language strings and JavaScript files
None of these changes affect the dropdown.
It appears that the room quantity labels are generated elsewhere.
Could you please tell us:
Which file generates the "1 Room / 2 Rooms" dropdown?
Which language constants are used?
Is there an official way to replace "Room" with a custom term such as "Accommodation/Pitch"?
Thank you very much.
we are using Solidres 4.1 with Joomla 6.
We would like to change the room quantity dropdown from:
1 Room
2 Rooms
3 Rooms
to:
1 Accommodation/Pitch
2 Accommodations/Pitches
We already tried the following:
Joomla language overrides (SR_ROOM, SR_ROOMS)
Editing default_checkavailability.php
Editing the German language file
Searching for the corresponding language strings and JavaScript files
None of these changes affect the dropdown.
It appears that the room quantity labels are generated elsewhere.
Could you please tell us:
Which file generates the "1 Room / 2 Rooms" dropdown?
Which language constants are used?
Is there an official way to replace "Room" with a custom term such as "Accommodation/Pitch"?
Thank you very much.
Please Log in or Create an account to join the conversation.
- solidres
-
- Away
Less
More
- Posts: 3055
1 month 1 week ago #21790
by solidres
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Replied by solidres on topic Solidres 4.1 – Change "1 Room, 2 Rooms" dropdown text to custom label
Hi,
The language key you are looking for are:
SR_SELECT_ROOM_QUANTITY="%s rooms"
SR_SELECT_ROOM_QUANTITY_1="1 room"
Regards,
The language key you are looking for are:
SR_SELECT_ROOM_QUANTITY="%s rooms"
SR_SELECT_ROOM_QUANTITY_1="1 room"
Regards,
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Please Log in or Create an account to join the conversation.
Moderators: solidres