News:

Support the VirtueMart project and become a member

Main Menu

multi language English, Arabic

Started by mshawali, July 15, 2018, 15:47:12 PM

Previous topic - Next topic

mshawali

hi all
I am a new user for VM2, i am using VM2 with Joomla version, 3.8.10. i use multi language English, Arabic
I have a problem in registration form translation from English to Arabic,  my question where i can find the fields in registration form so i can translate it correctly.
other issue after submitting registration in Arabic i got an English not (that you registered correctly and an email was send to activate) also i need the location for this note so i can translate it

Studio 42


mshawali

#2
Quote from: Studio 42 on July 16, 2018, 03:05:02 AM
See https://virtuemart.net/community/translations
And search your language and install the files

Dear

Thanks for your replay, i already installed Arabic translation packed, i can see registration form in Arabic but in some fields the translation is wrong (like Middle Name field its translated Mobile name and password filed is translated wrong also and other 3 fields) my question where i can find file name and location  to make some changes on some fields.

Also the other thing after submitting the form we get a note (registration was completed and and email was sent ... etc) also this is translated wrong i want the file name and location so i can correct some words inside it.

Note:
I am using virtuemart registration form not Joomla

Jörgen

If You want errors in translation changed talk withh jjk, he is involved in managing translations, but not translating them. If You want your own translation of the words, please use the Joomla translation tool, otherwise You will loose the corrections next time the language is updated.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

mshawali

Quote from: Jörgen on July 16, 2018, 10:31:13 AM
If You want errors in translation changed talk withh jjk, he is involved in managing translations, but not translating them. If You want your own translation of the words, please use the Joomla translation tool, otherwise You will loose the corrections next time the language is updated.

Jörgen @ Kreativ Fotografi

Dear Jörgen

Thanks for your answer
Who is JJk and how i contact him?

All i want file locations (name and locations) where i can change fields, about updates i will translate again if i update in future since i know where to find it, any suggestions??

jjk

#5
If I want to locate or change a language string in the original language files, I usually use https://notepad-plus-plus.org/ to locate words in *.ini language files (See screenshot below) stored in a copy of the website on my own computer.

You can also find the language key or string (value) if you go to 'Extensions' > 'Language(s)' > 'Overrides' from the Joomla admin menu, then select a 'Site' or 'Adminiatrator' language in the left side panel and click on the green 'New' button. This will open a screen where you can search for the language keys (constant) or strings (value) on the right side. In the resulting list you can see the location of the file if you hover over the key (constant) with your mouse pointer.

Also, you might consider to help a little bit with the translations on transifex.com. See here: http://forum.virtuemart.net/index.php?topic=98187.msg323783#msg323783 (You might have to wait some time until the Arab translation coordinator approves your request to join the translation team)

Quotei am using VM2 with Joomla version, 3.8.10
Do you really still use VM2? You should use VM3.2.14 or VM 3.2.15.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

mshawali

Quote from: jjk on July 16, 2018, 10:47:52 AM
If I want to locate or change a language string in the original language files, I usually use https://notepad-plus-plus.org/ to locate words in *.ini language files (See screenshot below) stored in a copy of the website on my own computer.

You can also find the language key or string (value) if you go to 'Extensions' > 'Language(s)' > 'Overrides' from the Joomla admin menu, then select a 'Site' or 'Adminiatrator' language in the left side panel and click on the green 'New' button. This will open a screen where you can search for the language keys (constant) or strings (value) on the right side. In the resulting list you can see the location of the file if you hover over the key (constant) with your mouse pointer.

Also, you might consider to help a little bit with the translations on transifex.com. See here: http://forum.virtuemart.net/index.php?topic=98187.msg323783#msg323783 (You might have to wait some time until the Arab translation coordinator approves your request to join the translation team)


Dear JJy

Thanks for your replay and quick answer

The problem it is translated correct in Arabic.ini file i don't know from where the wrong translation came from

see the attached files for fields that are wrong translated.

Where and how the registration form get the translation, this is what i want to modify (is this correct?) or change the filed translation


jjk

#7
I thinks that the line 'Your account has been created and an activation link...' comes from a Joomla language file, not from a VM language file. Seems to be:
your-root-folder\language\en-GB\en-GB.com_users.ini, around line 122.
In this case I would suggest to create a Joomla language override for this line in Arabic.

However, I suppose you have published the Joomla registration/login module. In a normal VM shop you don't need that, because users are automatically registered in the checkout process when they buy something. If you unpublish the Joomla registration/login module, you will receive much less spam registrations.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

mshawali

Quote from: jjk on July 16, 2018, 11:20:22 AM
I thinks that the line 'Your account has been created and an activation link...' comes from a Joomla language file, not from a VM language file. Seems to be:
your-root-folder\language\en-GB\en-GB.com_users.ini, around line 122.
In this case I would suggest to create a Joomla language override for this line in Arabic.

However, I suppose you have published the Joomla registration/login module. In a normal VM shop you don't need that, because users are automatically registered in the checkout process when they buy something. If you unpublish the Joomla registration/login module, you will receive much less spam registrations.

Dear

in the file root-folder\language\ i have 2 languages  en-GB and ar-AA its translated well as below in ar-AA.com_users.ini i searched in these files for mobile number but i can't find it, i manage login form from shopper fields, so i guess the problem from VM not Joomla form,  it seems from a VM language file where i can find this file? also where i can find the structure for registration form.

Joomla registration/login module do you mean as attached? this module is to view it in page (login or register)



COM_USERS_REGISTRATION_COMPLETE_ACTIVATE="لقد تم إنشاء حسابك، وتم إرسال رابط التفعيل إلى عنوان البريد الإلكتروني الذي أدخلته. لاحظ بأنه يجب عليك القيام بتفعيل الحساب من خلال الضغط على رابط التفعيل الموجود ضمن الرسالة قبل تمكنك من تسجيل الدخول إلى الموقع."
COM_USERS_REGISTRATION_COMPLETE_VERIFY="لقد تم إنشاء حسابك، وتم إرسال رابط التحقق إلى عنوان البريد الإلكتروني الذي أدخلته. لاحظ بأنه يجب عليك القيام بتأكيد الحساب من خلال الضغط على رابط التحقق الموجود ضمن الرسالة، ومن ثم سيقوم مدير الموقع بتفعيل حسابك قبل تمكنك من تسجيل الدخول إلى الموقع."

jjk

The Joomla user fields don't have address or phone number fields by default. You can see that when you select 'Users' > 'Manage' from the Joomla admin menu and pick any user. I would recommend to unpublish the Joomla login module (Login Form). For existing customers you can a custom module with links like 'View Cart', 'Your Order History' and 'Your account'. New customers are registered automatically by VirtueMart.

The shopper fields in VirtueMart show up in the 'Billing Details' (BillTo) and 'Shipping Details' (ShipTo) form linked in the cart view. This is the place where your mobile phone number form field should show up when you have it enabled.

For translation of
COM_VIRTUEMART_SHOPPER_FORM_PHONE2="Mobile phone"
look at your-root-folder\components\com_virtuemart\language\en-GB\en-GB.com_virtuemart_shoppers.ini
The Arabic translation should be in your-root-folder\language\ar-AA\ar-AA.com_virtuemart_shoppers.ini
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

mshawali

Quote from: jjk on July 16, 2018, 15:26:32 PM
The Joomla user fields don't have address or phone number fields by default. You can see that when you select 'Users' > 'Manage' from the Joomla admin menu and pick any user. I would recommend to unpublish the Joomla login module (Login Form). For existing customers you can a custom module with links like 'View Cart', 'Your Order History' and 'Your account'. New customers are registered automatically by VirtueMart.

The shopper fields in VirtueMart show up in the 'Billing Details' (BillTo) and 'Shipping Details' (ShipTo) form linked in the cart view. This is the place where your mobile phone number form field should show up when you have it enabled.

For translation of
COM_VIRTUEMART_SHOPPER_FORM_PHONE2="Mobile phone"
look at your-root-folder\components\com_virtuemart\language\en-GB\en-GB.com_virtuemart_shoppers.ini
The Arabic translation should be in your-root-folder\language\ar-AA\ar-AA.com_virtuemart_shoppers.ini


Dear JJk

Thanks allot this what i was looking for my first problem is solved now.

Any idea about the second problem (when press submit form) a message came  as in the below image, how can i make it in Arabic? any ideas

jjk

#11
Do you have the latest Arabic translation for Joomla? The latest one I've found is available for download here:
http://joomlacode.org/gf/project/jtranslation3_x/frs/?action=FrsReleaseView&release_id=20592
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

GJC Web Design

and why have an activation on an ecommerce site?? This will loose u 50+ % of all sales

make the checkout as seamless and simple as possible or the shopper will leave...
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

mshawali

Quote from: jjk on July 16, 2018, 17:20:58 PM
Do you have the latest Arabic translation for Joomla? The latest one I've found is available for download here:
http://joomlacode.org/gf/project/jtranslation3_x/frs/?action=FrsReleaseView&release_id=20592

yes i have  ver. 3.7.5   22/08/2017 by Dr. Ashraf Damra/Abu Nidal

jjk

#14
Maybe I found the problem.
COM_VIRTUEMART_REG_COMPLETE_ACTIVATE="<div class='componentheading'>Registration Completed!</div> <br />Your account has been created and an activation link has been sent to the e-mail address you entered. Note that you must activate the account by clicking on the activation link when you get the e-mail before you can login."
If the above is called from the admin language file in this case, where this line is not yet translated into Arabic...

...all you probably have to do is to copy this line:
COM_VIRTUEMART_REG_COMPLETE_ACTIVATE="<div class='componentheading'>اكتملت عملية التسجيل</div> <br />لقد تم إنشاء حسابك وتم ارسال رابط التفعيل إلى عنوان البريد الإلكتروني الذي قمت بإدخاله. لاحظ أنه يجب عليك تفعيل الحساب من خلال النقر على رابط التنشيط عند الحصول على البريد الإلكتروني قبل أن تتمكن من الدخول."
and replace the untranslated line in the file your-root-folder\administrator\language\ar-AA\ar-AA.com_virtuemart.ini, at or near line1058.

Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations