( Latest versions: 2.8.0 Stable, compatible with Joomla 3.9.0+   &   0.9.3 Stable, compatible with WordPress 4+ )

How to override Solidres language per asset's category

Since Solidres for Joomla v1.9.0, a new useful feature is added to allow overriding Solidres language per asset's category.

Why we need it? For example, your website has 02 asset's categories: Hotels, Apartments and by default in the front end, Solidres uses the word "Room and rates" in single reservation asset view.

How to override Solidres language per asset's category

While it is appropriate for assets in category "Hotels", it is not quite correct for assets in category "Apartments" which should read "Apartment & Rates", so how to deal with this scenarios?

First, you need to create an override language file in the following folder (assumes you are using English - en-GB).

JOOMLA_ROOT/components/com_solidres/language/en-GB/en-GB.com_solidres_category_9.ini

The file name is quite simple, all you need to do is to replace the number at the end of the file name to your asset's category ID.

Inside that file, you can put your override translation, for example, SR_STEP_ROOM_AND_RATE="Apartment & Rates"

Then in the front end, Solidres will automatically detect and load override language file according to the current viewed asset's category.

How to override Solidres language per asset's category

All the things you need to make your work easier. Did you like Solidres?