1. roderic
  2. RO CSVI
  3. Monday, 07 February 2022
  4.  Subscribe via email
Hello,

I changed the Dutch site to multi-language: German, English and French.

I added custom_param_xx_xx for all 3 additional languages.
custom_param_xx.jpg

It correctly imports the German values but it takes the default values for the French and English.
custom_values-multilang.jpg

Database tables:
custom_values_db.jpg

Log file attached
Attachments (4)
Accepted Answer
Accepted Answer Pending Moderation
Hello Roderic,
Shouldn't the default language be the one that is set as main language? As I have set Dutch as default language, there is a param_en_gb in the available fields, why then not make use of it? :)

Thats correct. Instead of English as default we should be taking the main language set in VirtueMart as default. I have modified code for it. Please load the modified patch file and check the import. Update available fields before running the import.
Attachments (1)
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # Permalink
Accepted Answer Pending Moderation
Hello Roderic,
It correctly imports the German values but it takes the default values for the French and English.

Default language we use for customfieldsforall is English. So English language values are added as default. Do you have French language selected as active languages in VirtueMart Configuration and in Language settings for Multilanguage shop field?
Attachments (1)
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Hello Tharuna,

This is how it's set-up:

language-config.jpg

If I hadn't set it up like that, it would also not show the countryflags in the customfieldsforall edit screen.
Also, when I open a customfieldsforall in the backend, then save, it seems to add values to the fr_fr and en_gb.

However, when I run the import, it won't update those values.

What do you mean by: Language settings for Multilanguage shop field?
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello Roderic,
Yes, I am able to reproduce this error. I am looking it and will send you a patch file once it is fixed.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
Hello Roderic,
Please load the attached patch file and check the import. See if multi language values are imported for customfieldsforall.
Attachments (1)
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Hello Tharuna,

Thanks, the patch allowed me to import the French translations. However, the English do not work.

Default language we use for customfieldsforall is English. So English language values are added as default.


Shouldn't the default language be the one that is set as main language? As I have set Dutch as default language, there is a param_en_gb in the available fields, why then not make use of it? :)

Cheers
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
Thanks again for the patch, all languages import correctly now.
  1. more than a month ago
  2. RO CSVI
  3. # 6
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!