- Posts: 1
- Thank you received: 0
CP Search Multilingual
- fwhg16
- Topic Author
- Offline
- New Member
Less
More
9 years 1 week ago #2354
by fwhg16
CP Search Multilingual was created by fwhg16
Hi,
i try a Search with a Selection field you can see here: cms1.inter-tech.de/de/produkte/gehaeuse
As you see there are words "Auswahl / Selection". I do this manual as a temporary Way. The original Text ("Select some Options")is in File /media/jui/js/chosen.jqurery.min.js, only in English. Also some other messages. As i plan to have this Page in more than 2 Languages, here is a Translation needed. Is there anny way to do it?
i try a Search with a Selection field you can see here: cms1.inter-tech.de/de/produkte/gehaeuse
As you see there are words "Auswahl / Selection". I do this manual as a temporary Way. The original Text ("Select some Options")is in File /media/jui/js/chosen.jqurery.min.js, only in English. Also some other messages. As i plan to have this Page in more than 2 Languages, here is a Translation needed. Is there anny way to do it?
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
9 years 6 days ago #2355
by andrea_4g
Replied by andrea_4g on topic CP Search Multilingual
Current version of Custom Properties uses the jquery.chosen library that is part of Joomla distribution as is. Hence that string is harcoded.
Investigating this issue we discovered that the default strings can be indeed overridden and therefore localized. But it takes some modifications to the core code of Custom Properties. (we plan to add this feature in the future)
You can maybe sidestepthe problem by setting parameter 'Select Label Position' to 'Inside', in order to use the field name instead of the 'Select some Options' string as the no-options-selected default text.
Other strings belonging to the CP Search module can be localized following the standard Joomla method.
The files containing the localized strings are:
modules/mod_cpsearch/xx-XX/xx-XX.mod_cpsearch.ini
Investigating this issue we discovered that the default strings can be indeed overridden and therefore localized. But it takes some modifications to the core code of Custom Properties. (we plan to add this feature in the future)
You can maybe sidestepthe problem by setting parameter 'Select Label Position' to 'Inside', in order to use the field name instead of the 'Select some Options' string as the no-options-selected default text.
Other strings belonging to the CP Search module can be localized following the standard Joomla method.
The files containing the localized strings are:
modules/mod_cpsearch/xx-XX/xx-XX.mod_cpsearch.ini
Please Log in or Create an account to join the conversation.
Time to create page: 0.154 seconds