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.
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.