1. Donnerflug
  2. RO CSVI
  3. Thursday, 03 November 2016
  4.  Subscribe via email
Hello,
making a kml export with advanced order the order status name output is not properly:

<Order_Status><![CDATA[COM_VIRTUEMART_ORDER_STATUS_CONFIRMED_BY_SHOPPER]]></Order_Status>

Should be replaced with the value instead of the language constant AND in the correct language, in my case GERMAN.

How can I solve this issue?

Kind regards,

Teresa
Accepted Answer Pending Moderation
Hello Teresa,
This seems to be issue with VirtueMart that few language strings are not translated. To solve this you can add overrides for these untranslated string from your Joomla administrator. Go to Extensions >> Languages >> Overrides, Select your language on side bar, you case would be German(de-DE)-Administrator, Click New and add the language string. That should solve your issue.
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,

that's what I'm done at first - without success!

Kind regards,

Teresa
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello Teresa,
You can create replace rule for these untranslated string and apply these rules on your order_status_name field. Then you can try doing the export. In the meantime i will check if this can be handled in code.
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 Tharuna,

when I set the standard language to english instead german in Joomla backend, the language override takes effect. When german is standard, override doesn't match.

Kind regards,

Teresa
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Hello Teresa,
Yes and so i told you to create replacement rule for these untranslated strings. Did that work for you?
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. # 5
Accepted Answer Pending Moderation
Hello Tharuna,

it's definitivly a bug of CSVI!

1. All language constant are properly translated in virtuemart.
2. Adding language content to overrides Admin/Front - the result is, the correct language value appears in -> template -> option -> order status, but not in the advanced order XML export file.
3. Adding a rule to replace the language constant "COM_VIRTUEMART_ORDER_STATUS_CONFIRMED_BY_SHOPPER" with "Vom Kunden bestätigt" doesn't work too!
4. The similar issue comes up with billing title and shipping title: "Mr" and "Mrs" are not replaced with "Herr" or "Frau"
5. When creating rules for Mr and Mrs, Mr is correctly replaced and Mrs is replaced by "Herrs"

Kind regards,

Teresa
  1. more than a month ago
  2. RO CSVI
  3. # 6
Accepted Answer Pending Moderation
Hello Teresa,
1. All language constant are properly translated in virtuemart.

There have been few complaints about language strings not translated on VirtueMart forum so i am not sure about this. Just to give more information, VirtueMart stores all order status as language constants in database table, you can have a look at #__virtuemart_orderstates table on this. The problem is that not all are translated.

2. Adding language content to overrides Admin/Front - the result is, the correct language value appears in -> template -> option -> order status, but not in the advanced order XML export file.

Thats correct and so i told you to create some replace rules for this.

3. Adding a rule to replace the language constant "COM_VIRTUEMART_ORDER_STATUS_CONFIRMED_BY_SHOPPER" with "Vom Kunden bestätigt" doesn't work too!

It does work, i looked into your template on your site, you had set the rule to order_status field whereas it should be on order_status_name field. I set the rule for this field and now the language string is replaced. Please check.

4. The similar issue comes up with billing title and shipping title: "Mr" and "Mrs" are not replaced with "Herr" or "Frau"
5. When creating rules for Mr and Mrs, Mr is correctly replaced and Mrs is replaced by "Herrs"

Not sure if you are doing some modification for these rules. I have been seeing some changes to XML file generated when trying to test your template on your site. Can you let me know when you are done so i can have a look at them?
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. # 7
Accepted Answer Pending Moderation
Hello Tharuna,

sorry, I am a bit confused about all processes and setting up a proper export. It's my fault adding the rule to the wrong field.

On second thoughts about the title field all is clear for me.You need the correct order for replacement. When replace Mr|Mrs the Mr is found and correctly replaced with Herr. The Mr of Mrs is found too, so it will replaced to Herrs. Changing the rule settings to Mrs|Mr all is found correctly and replaced in XML. It is only a workaround. I think, when using the shop in multi language mode, the trouble starts again.

Sorry for rocking the boat!

Kind regards,

Teresa
  1. more than a month ago
  2. RO CSVI
  3. # 8
Accepted Answer Pending Moderation
Hello Teresa,

Changing the rule settings to Mrs|Mr all is found correctly and replaced in XML. Hope this is a constant solution?
Yes, that is the solution to this problem. It is a common mistake. First find the longest value and then the shortest value as you have done is correct.
Kind regards,

RolandD

=========================
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. # 9
  • Page :
  • 1


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