Product translation do not work
Posted: Mon Dec 09, 2013 3:56 am
Hi,
in the demo site of version 3.0.3, translation of products are well shown. Looking into the table BLC_TRANSLATION, i do see the records like here:
| TRANSLATION_ID | ENTITY_ID | ENTITY_TYPE | FIELD_NAME | LOCALE_CODE | TRANSLATED_VALUE |
+----------------+-----------+-------------+-----------------+-------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| -56 | 3 | Sku | longDescription | es | Picante, maduro pimienta que se mezcla junto con el ajo, la cebolla, pasta de tomate y una pizca de azúcar de caña para hacer de esto una salsa suave. Maravilloso en huevos, aves de corral, carne de cerdo o pescado, esta salsa se ??mezcla para hacer los adobos y sopas ricas. |
| -256 | 3 | Sku | longDescription | fr | Tangy, venu de Cayenne poivron flux avec l'ail, l'oignon pâte de tomate, et un soupçon de sucre de canne pour en faire une sauce onctueuse avec une morsure. Magnifique sur les œufs, la volaille, le porc ou le poisson, cette sauce marie pour faire des marinades et des soupes riches. |
| -55 | 3 | Sku | name | es | Salsa de la Muerte Saltante |
| -255 | 3 | Sku | name | fr | Hot Sauce Hoppin |
In the Admin module, the translations are not visible. When I add a new translation with the admin Module, in BLC_TRANSLATION a new record appears like here:
| TRANSLATION_ID | ENTITY_ID | ENTITY_TYPE | FIELD_NAME | LOCALE_CODE | TRANSLATED_VALUE |
+----------------+-----------+-------------+-----------------+-------------+------------------+
| 101 | 3 | Product | defaultSku.name | fr | Hoppin piquante |
One can see that the original records that work have a value for ENTITY_TYPE='sku' whereas the new records have ENTITY_TYPE='Product'. Note that the fieldname is also different: name <>defaultSku.name !
This seams to be the reason why the used translation are not shown in admin and the new translations are not shown in the demo-site. I guess this is bug or do i have a somwhere a wrong record in the DB ?
in the demo site of version 3.0.3, translation of products are well shown. Looking into the table BLC_TRANSLATION, i do see the records like here:
| TRANSLATION_ID | ENTITY_ID | ENTITY_TYPE | FIELD_NAME | LOCALE_CODE | TRANSLATED_VALUE |
+----------------+-----------+-------------+-----------------+-------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| -56 | 3 | Sku | longDescription | es | Picante, maduro pimienta que se mezcla junto con el ajo, la cebolla, pasta de tomate y una pizca de azúcar de caña para hacer de esto una salsa suave. Maravilloso en huevos, aves de corral, carne de cerdo o pescado, esta salsa se ??mezcla para hacer los adobos y sopas ricas. |
| -256 | 3 | Sku | longDescription | fr | Tangy, venu de Cayenne poivron flux avec l'ail, l'oignon pâte de tomate, et un soupçon de sucre de canne pour en faire une sauce onctueuse avec une morsure. Magnifique sur les œufs, la volaille, le porc ou le poisson, cette sauce marie pour faire des marinades et des soupes riches. |
| -55 | 3 | Sku | name | es | Salsa de la Muerte Saltante |
| -255 | 3 | Sku | name | fr | Hot Sauce Hoppin |
In the Admin module, the translations are not visible. When I add a new translation with the admin Module, in BLC_TRANSLATION a new record appears like here:
| TRANSLATION_ID | ENTITY_ID | ENTITY_TYPE | FIELD_NAME | LOCALE_CODE | TRANSLATED_VALUE |
+----------------+-----------+-------------+-----------------+-------------+------------------+
| 101 | 3 | Product | defaultSku.name | fr | Hoppin piquante |
One can see that the original records that work have a value for ENTITY_TYPE='sku' whereas the new records have ENTITY_TYPE='Product'. Note that the fieldname is also different: name <>defaultSku.name !
This seams to be the reason why the used translation are not shown in admin and the new translations are not shown in the demo-site. I guess this is bug or do i have a somwhere a wrong record in the DB ?