Hi guys.
I'm (finaly) working on a proper rapido project.
It is the new Rapido 3.1.
We have products with product categories and our default language is English.
Using the dbo.EcomProductCategorytranslation and dbo.EcomProductCategoryFieldTranslation tables the categories and their field are also translated to our second ecom language German.
The eCom/Product/Blocks/Fields.cshtml template renders the tab for the product category fields and their fields.
When I am on an English (default language) product page all is well.
When I am on a German product page the tab value stays English and the category field labels as well ...
It seems that the GetLoop("ProductCategories") always returns the default language ...
It doesn't seem to take it's language context into consideration ...
In attachment 1 I have an image with on the left side the CMS product category "ProductFields" in german. On the right side output on a german area page (de-DE) with german ecom language (LANG11)
In attachment 2 in eCom/Product/Blocks/Fields.cshtml I get the category object value by GetCategoryById(categoryId, ecomLanguageId) and use its name for the Label. Then it DOES show the german text ... But I don't want to do this for all category fields (wouldnt know how without a categoryfieldservice) and I don't realy want to replace this huge Block by a custom one ...
Is there a fix for this?
Am I doing something wrong?
Hope to hear from you soon ...
With kind regards,
RapidoNewbee