News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Translate order status

Started by patrik60, April 21, 2012, 16:09:17 PM

Previous topic - Next topic

patrik60

Thank you. Just checked it from the SVN, works fine. Is there also a possibility to add translation into Custom Field Type: Cart Variant? Title works fine everywhere, values do work everywhere except in the details page of a product.

alatak

Hello,

hum i have tested also the cart variant and for me it works.
Did you test again?
If yes, can you tell me how you create your custom field, i will try again.

patrik60

#17
I'm on rev 6286 now. Step by step what I've done:


1. Create a custom field
2. Select customfield type: Cart Variant
3. Enter title: NOTENSCHRIFT
4. Cart Attribute: Yes

Go to Extensions -> Language Manger -> Overrides

Add NOTENSCHRIFT in both, EN - Site and DE - Site and translate (Alphabetic symbols / Notenbeschriftung)

Add VM_NEIN and VM_JA in both, EN - Site and DE - Site and translate (will be values in product No / Nein    Yes / Ja)**

5. Go to VM -> product
6. Create new product
7. Add custom field1 -> customfield type NOTENSCHRIFT, set value VM_NEIN
8. Add custom field2 -> customfield type NOTENSCHRIFT, set value VM_JA

On the details page you see now the cart attribute "Alphabetic symbols" and you can choose between VM_NEIN and VM_JA. In the cart you will see  Alphabetic symbols No or Alphabetic symbols Yes. Here the appearance is correct.

To be shure that VM works correctly I have disabled all template overrides.

**It is even not necessary to translate Yes and No since both strings exist in the VM language file (COM_VIRTUEMART_YES and COM_VIRTUEMART_NO). The effect remains the same.

patrik60

#18
I have found now also an other issue about the title of the cart variant. The translation of the title is ok in the confirm email. But in the update order status email the title is no longer translated. Instead of "Notenbeschriftung" (in English "Alphabetic symbols") only the string NOTENSCHRIFT is visible.

BTW I tried also to set the language strings of the values in the default field of the cart variant form (VM_NEIN;VM_JA) and enable "Is a list?". This way I didn't have any succes neither.

jjk

#19
Your attempt to translate cart variant values dosn't look entirely correct to me. I've added some images which you might use as an example for your setup. The translated values in my example do show up correctly in the cart and the emails, too. (I'm using latest SVN version)

(Note: the forum software allows a maximum of 4 images per post. There are 3 more in the following post)

The order status translation is more simple. Just enter the order status key into the order status name field (see last image in next post).  This works fine in latest SVN version, also in the emails.


[attachment cleanup by admin]
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

jjk

#20
Here are the last three images:

[attachment cleanup by admin]
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

patrik60

#21
I want the custom field type as a cart variant not as a string.
See my pictures. It is really not working. Read also this post:

http://forum.virtuemart.net/index.php?topic=99678.msg351136#msg351136

especially this sentence in the quotes: ...EXCEPT in the product detail page, the most important one for the customer.

I'm not the only one having this problems. He is talking about the cart variant and because it is not working correctly he was changing to drop plugin. This is another problem I don't want to talk about because it is a third party extension.

This user is also telling that it works everywhere EXCEPT product details page. There is needed another JText function. But I don't know where, maybe in vmplugin.php, vmcustomplugin.php or shopfunctions.php.

BTW: Order status is working perfectly after fix of alatak in 2.0.8e!!

[attachment cleanup by admin]

patrik60

#22
More pics

[attachment cleanup by admin]

jjk

#23
Quote from: patbe60 on July 21, 2012, 00:28:22 AM
I want the custom field type as a cart variant not as a string...
If you look at my first example image again you will see that it is a string AND cart attribute = "Yes" and this works, but I suppose you want it as a dropdown rather than a Yes/No checkbox in the cart, which I didn't test.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

patrik60

Quotebut I suppose you want it as a dropdown rather than a Yes/No checkbox in the cart, which I didn't test.

Yes you are right. I prefer the dropdown. And this one is working fine except in the product details page. I tried to find out where to add a JText function. I don't really have an idea about php coding. I think it needs a little bit more than a simple add of JText function. ???

rvbgnu

Quote from: jjk on July 21, 2012, 07:12:32 AM
Quote from: patbe60 on July 21, 2012, 00:28:22 AM
I want the custom field type as a cart variant not as a string...
If you look at my first example image again you will see that it is a string AND cart attribute = "Yes" and this works, but I suppose you want it as a dropdown rather than a Yes/No checkbox in the cart, which I didn't test.
I can confirm that the translation is working when NOT in a dropdown (selection list menu). I did a setup with radiobox as well before, with VM2.0.6 I think, and it was ok too. I am still hoping to find a nice solution, but like said above, I switch to the Dropbox plugin for the moment, I have more issues to fix with the checkout in the second language...

Please keep on the good work!!
Best Regards, Hervé Boinnard - Irish Time (GMT)
Joomla! multilingual website and online business made easy - https://www.puma-it.ie

3D Secure v1 (3DS1) & Strong Customer Authentication (SCA)! Stripe.com payment plugin for VirtueMart 3: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/stripe-for-virtuemart
Authipay (AIB Merchant Services) for VirtueMart 2 & 3: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/authipay-aib-merchant-services-for-virtuemart

alejandroamo

hi guys,
unfortunately, Im suspicious the developers did'nt fix this yet, as I am using the  2.0.10 release and still has exactly the same problem.

More confirmations, overe there?

jjk

Quote from: alejandroamo on September 29, 2012, 23:49:12 PM
hi guys,
unfortunately, Im suspicious the developers did'nt fix this yet...
Do you mean the 'Order Status' (the topic of this thread) or the custom field dropdown we were talking about in the last posts?
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

jbrailas

The bug is not resolved (or re-appears ? ) in vm 2.0.20b: Order Status doesn't use the translated strings which exist in el-GR.com_virtuemart.ini
Specifically, the following strings exist but they are not used:
COM_VIRTUEMART_ORDER_STATUS_CANCELLED
COM_VIRTUEMART_ORDER_STATUS_CONFIRMED
COM_VIRTUEMART_ORDER_STATUS_CONFIRMED_BY_SHOPPER
COM_VIRTUEMART_ORDER_STATUS_PENDING
COM_VIRTUEMART_ORDER_STATUS_REFUNDED
COM_VIRTUEMART_ORDER_STATUS_SHIPPED

Joomla 2.5.9 multilingual

K&K media production

Where? Confirmation email? Orderlist? ...