Using RO CSVI you can import and export Falang translations for J2Commerce. This tutorial explains how to use the import and export with Falang fields.
In RO CSVI we have extended J2Commerce product import and export to support Falang extension. As of now multiple languages for J2Commerce can be done with Joomla articles associations field but it is cumbersome task. To ease this out we added support for Falang extension. Since J2Commerce uses Joomla content table to save its product details using Falang extension these product details can be saved for multiple languages.
Import Falang fields
As of now we support title, alias, fulltext, introtext, metakey, metadesc fields for Falang. These fields will be tagged with language code in import file. So for Dutch language use fields title_nl_nl, alias_nl_nl, fulltext_nl_nl, introtext_nl_nl, metakey_nl_nl and metadesc_nl_nl. Same can be done for other languages.
To use this feature
- Install Falang extension from Faboba Site.
- Install more than two languages in Joomla language manager. In this document we are taking Dutch and French as example installed languages.
- Update available fields
- Create J2Commerce Product import template
- Run import with below CSV content
"sku","title","alias","introtext","fulltext","title_nl_nl","alias_nl_nl","introtext_nl_nl","fulltext_nl_nl","title_fr_fr","alias_fr_fr","introtext_fr_fr","fulltext_fr_fr"
"1001","English product","english-product","english intro text","english full text","Dutch product","dutch-product","dutch intro text","dutch full text","French product","french-product","french intro text","french full text"
Export Falang fields
To export Falang fields add the fields with language tag in export template
- Create J2Commerce Product export template
- Add template fields as needded. To add Falang fields for a language look for fields with language tag.
- So for adding Dutch language field add title_nl_nl, alias_nl_nl, fulltext_nl_nl, introtext_nl_nl, metakey_nl_nl and metadesc_nl_nl as template fields
- Run export
- Check if product details of specific language are exported from Falang extension.