Category missing fields in translations
- fgarganese
-
Topic Author
- Offline
Less
More
15 years 3 weeks ago - 15 years 3 weeks ago #24769
by fgarganese
Francesco Garganese
Aeromnia Srl
Category missing fields in translations was created by fgarganese
Hi to all,
I upgraded HikaShop from Starter to Essential Edition in a Joomla 1.5.22 installation.
Our site has several languages, so we greatly appreciate the possibility to do the translation directly from product/category page.
But we noted a problem:
Thank you in advance
I upgraded HikaShop from Starter to Essential Edition in a Joomla 1.5.22 installation.
Our site has several languages, so we greatly appreciate the possibility to do the translation directly from product/category page.
But we noted a problem:
- translating categories, we have the possibility to edit: Name, Description, Meta Description and Keywords fields using the popup appearing in the Category page, but the translated Meta Description and Keywords are not saved on the database.
- Looking inside Joom!Fish, we discover also that Meta Description and Keywords fields are missed in the translation form.
- Consequently, Meta Description and Keywords fields are always in the main site language during web navigation.

Thank you in advance
Francesco Garganese
Aeromnia Srl
Last edit: 15 years 3 weeks ago by fgarganese. Reason: Joomla release added
Please Log in or Create an account to join the conversation.
15 years 3 weeks ago #24770
by nicolas
Replied by nicolas on topic Re: Category missing fields in translations
Hi,
The problem seems to come from the content elements xml which we didn't update when we added these fields.
You can install the file attached to that post via the joomfish interface it order to have joomfish translate the fields.
This attachment is hidden for guests.
The problem seems to come from the content elements xml which we didn't update when we added these fields.
You can install the file attached to that post via the joomfish interface it order to have joomfish translate the fields.
This attachment is hidden for guests.
Please log in or register to see it.
Please Log in or Create an account to join the conversation.
- fgarganese
-
Topic Author
- Offline
15 years 3 weeks ago #24773
by fgarganese
Francesco Garganese
Aeromnia Srl
Replied by fgarganese on topic Re: Category missing fields in translations
File installed and problem solved, you're great and fast as usual!
Thank you very much
Thank you very much
Francesco Garganese
Aeromnia Srl
Please Log in or Create an account to join the conversation.
- fgarganese
-
Topic Author
- Offline
15 years 2 weeks ago #25319
by fgarganese
Francesco Garganese
Aeromnia Srl
Replied by fgarganese on topic Re: Category missing fields in translations
I discovered still a little problem after installing the new xml file.
While we can see the fields inside categories editing, we can successfully save the translation only doing it inside Joomfish, if we do it in HikaShop language tabs it's ignored. :S
While we can see the fields inside categories editing, we can successfully save the translation only doing it inside Joomfish, if we do it in HikaShop language tabs it's ignored. :S
Francesco Garganese
Aeromnia Srl
Please Log in or Create an account to join the conversation.
15 years 2 weeks ago #25341
by nicolas
Replied by nicolas on topic Re: Category missing fields in translations
We checked that on our end. Indeed, there is some code missing in a view to handle that.
Please go in the menu Display->views and edit the file "edit_translation" of the view "category" and add the code:
before the code
Then, it should work properly in HikaShop's interface too.
Please go in the menu Display->views and edit the file "edit_translation" of the view "category" and add the code:
Code:
$this->category_meta_description_input = "translation[category_meta_description][".$language_id."]";
$this->element->category_meta_description = @$translation->category_meta_description->value;
if(isset($translation->category_meta_description->published)){
$this->category_meta_description_published = $translation->category_meta_description->published;
$this->category_meta_description_id = $translation->category_meta_description->id;
}
$this->category_keywords_input = "translation[category_keywords][".$language_id."]";
$this->element->category_keywords = @$translation->category_keywords->value;
if(isset($translation->category_keywords->published)){
$this->category_keywords_published = $translation->category_keywords->published;
$this->category_keywords_id = $translation->category_keywords->id;
}
Code:
echo $this->tabs->startPanel($this->transHelper->getFlag($language_id), 'translation_'.$language_id);
Please Log in or Create an account to join the conversation.
- fgarganese
-
Topic Author
- Offline
15 years 2 weeks ago #25353
by fgarganese
Francesco Garganese
Aeromnia Srl
Replied by fgarganese on topic Re: Category missing fields in translations
Code inserted, editing and saving now it's ok. 
Only a note:
laterally for each field there is a green checksign to enable (what they are?): if we do so it remember the action, excepting for the last field "Keywords".
Only a note:
laterally for each field there is a green checksign to enable (what they are?): if we do so it remember the action, excepting for the last field "Keywords".
Francesco Garganese
Aeromnia Srl
Please Log in or Create an account to join the conversation.
15 years 2 weeks ago #25364
by nicolas
Replied by nicolas on topic Re: Category missing fields in translations
It's to activate/deactivate the translation. That correspond to the publish checkbox in joomfish.
In the file translation (or normal?) of the view category, there is a typo for that: kaywords instead of keywords. Because of that, the publish field value is not correctly loaded. You can change it if you want, but it's not really that useful, especially for that field.
In the file translation (or normal?) of the view category, there is a typo for that: kaywords instead of keywords. Because of that, the publish field value is not correctly loaded. You can change it if you want, but it's not really that useful, especially for that field.
Please Log in or Create an account to join the conversation.
- fgarganese
-
Topic Author
- Offline
15 years 1 week ago #25589
by fgarganese
Francesco Garganese
Aeromnia Srl
Replied by fgarganese on topic Re: Category missing fields in translations
Thank you for the note Nicolas, I agree with you
Francesco Garganese
Aeromnia Srl
Please Log in or Create an account to join the conversation.
Time to create page: 0.213 seconds