Hi guys - thanks for the great work. Its looking really good.
I have been experimenting with the multi-language part of the system and encountered a problem.
When editing a product/category etc. you get the language dropdown at the top of the page but no language has been selected. So the first one alphabetically is 'assumed' to be the default and to get the translations message to appear you must select a different language and then go back to the first. You can test this by using a language with a language code earlier in the alphabet than english e.g. Welsh (cy-GB).
The problem is in shopfunctions.pgp at line 131-133 the $params->get("site") method returns a string in the form "en_gb" but the lagnuages from $languages = JLanguageHelper::createLanguageList($lang, constant('JPATH_SITE'), true); are in the form "en-GB" so they won't match in the select.genericlist call.
Hope this explanation makes sense
Hi,
the en-GB are transmited in the translate "view",
is converted by the function (lower + "-" to "_"),
paste in the translate controller and
if he find a valid table/view,
paste the table fields to the json
and a loop rewrite all fields with the conresponding fields(minus ID)