VirtueMart Forum

VirtueMart 2 + 3 + 4 => Language/Translations => Topic started by: mshawali on July 15, 2018, 15:47:12 PM

Title: multi language English, Arabic
Post by: mshawali on July 15, 2018, 15:47:12 PM
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
Title: Re: multi language English, Arabic
Post by: Studio 42 on July 16, 2018, 03:05:02 AM
See https://virtuemart.net/community/translations
And search your language and install the files
Title: Re: multi language English, Arabic
Post by: mshawali on July 16, 2018, 09:03:29 AM
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
Title: Re: multi language English, Arabic
Post by: 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
Title: Re: multi language English, Arabic
Post by: mshawali on July 16, 2018, 10:47:00 AM
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??
Title: Re: multi language English, Arabic
Post by: 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)

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.
Title: Re: multi language English, Arabic
Post by: mshawali on July 16, 2018, 11:10:11 AM
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

Title: Re: multi language English, Arabic
Post by: 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.
Title: Re: multi language English, Arabic
Post by: mshawali on July 16, 2018, 11:50:55 AM
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="لقد تم إنشاء حسابك، وتم إرسال رابط التحقق إلى عنوان البريد الإلكتروني الذي أدخلته. لاحظ بأنه يجب عليك القيام بتأكيد الحساب من خلال الضغط على رابط التحقق الموجود ضمن الرسالة، ومن ثم سيقوم مدير الموقع بتفعيل حسابك قبل تمكنك من تسجيل الدخول إلى الموقع."
Title: Re: multi language English, Arabic
Post by: 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
Title: Re: multi language English, Arabic
Post by: mshawali on July 16, 2018, 16:53:35 PM
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
Title: Re: multi language English, Arabic
Post by: 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
Title: Re: multi language English, Arabic
Post by: GJC Web Design on July 16, 2018, 17:23:29 PM
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...
Title: Re: multi language English, Arabic
Post by: mshawali on July 16, 2018, 18:09:36 PM
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
Title: Re: multi language English, Arabic
Post by: jjk on July 16, 2018, 20:28:10 PM
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.

Title: Re: multi language English, Arabic
Post by: mshawali on July 17, 2018, 11:02:29 AM
Quote from: jjk on July 16, 2018, 20:28:10 PM
I think I found the problem. Looks like
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."
is called from the admin language file in this case, where this line is not yet translated into Arabic.

So 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.

Dear JJk

Thanks for your response

I translate line 1058 and line 1057 in  administrator\language\ar-AA\ar-AA.com_virtuemart.ini and save changes also i get same result, what i do i go to administrator/components/com_virtuemart/language and create folder there  for ar-AA and copy the file ar-AA.com_virtuemart.ini to that directory also not working i go to joomla and clear cache and try to register and i get the same message in English not Arabic any suggestions to do next?
Title: Re: multi language English, Arabic
Post by: jjk on July 17, 2018, 11:56:49 AM
Quote from: mshawali on July 17, 2018, 11:02:29 AM
...any suggestions to do next?
Enable 'Debug Language' in the Joomla Configuration, clear all cache and then check for errors in the debug information at the bottom of the registration confirmation view.
Title: Re: multi language English, Arabic
Post by: mshawali on July 17, 2018, 12:31:45 PM
Quote from: jjk on July 17, 2018, 11:56:49 AM
Quote from: mshawali on July 17, 2018, 11:02:29 AM
...any suggestions to do next?
Enable 'Debug Language' in the Joomla Configuration, clear all cache and then check for errors in the debug information at the bottom of the registration confirmation view.


Dear JJK

I try a test to change the /components/com_virtuemart/language/en-GB/en-GB.com_virtuemart.ini and i write some arabic text in line 391 and it appears on registration, that means (i don't know why) its looking for only the file en-GB.com_virtuemart.ini in /components/com_virtuemart/language

please find below the results after i Enabled 'Debug Language' in the Joomla Configuration

i will translate which are in arabic




**وحدة تحكم تشخيص الأخطاء لجوملا**----- Fault controller for joomla
**تحليل الأخطاء في ملفات اللغة** ------  Analysis of errors in language files


    JROOT/language/ar-AA/ar-AA.lib_joomla.ini : error(s) in line(s) 233

**ملفات اللغة محملة**-----  Language files loaded

  loaded  **تحميل** : JROOT/language/ar-AA/ar-AA.ini
    **تحميل** : JROOT/language/ar-AA/ar-AA.lib_joomla.ini
not loaded   **لم يتم تحميل** : JROOT/administrator/language/ar-AA/ar-AA.plg_system_helix3.ini
    **لم يتم تحميل** : JROOT/plugins/system/helix3/language/ar-AA/ar-AA.plg_system_helix3.ini
    **لم يتم تحميل** : JROOT/administrator/language/ar-AA/ar-AA.plg_system_plg_sj_vm_quickview.ini
    **لم يتم تحميل** : JROOT/plugins/system/plg_sj_vm_quickview/language/ar-AA/ar-AA.plg_system_plg_sj_vm_quickview.ini
    **تحميل** : JROOT/administrator/language/ar-AA/ar-AA.plg_system_updatenotification.ini
    **تحميل** : JROOT/administrator/language/ar-AA/ar-AA.plg_system_fields.ini
    **تحميل** : JROOT/administrator/language/ar-AA/ar-AA.plg_system_logout.ini
    **تحميل** : JROOT/administrator/components/com_virtuemart/language/ar-AA/ar-AA.com_virtuemart.ini
    **تحميل** : JROOT/language/ar-AA/ar-AA.com_virtuemart.ini
    **تحميل** : JROOT/components/com_virtuemart/language/ar-AA/ar-AA.com_virtuemart.ini
    **تحميل** : JROOT/components/com_virtuemart/language/ar-AA/ar-AA.com_virtuemart.sef.ini
    **لم يتم تحميل** : JROOT/plugins/system/ytshortcodes/language/ar-AA/ar-AA.plg_system_ytshortcodes.ini
    **تحميل** : JROOT/language/ar-AA/ar-AA.com_acysms.ini
    **لم يتم تحميل** : JROOT/language/ar-AA/ar-AA.com_acysms_custom.ini
    **لم يتم تحميل** : JROOT/language/ar-AA/ar-AA.tpl_sj_market.ini
    **لم يتم تحميل** : JROOT/templates/sj_market/language/ar-AA/ar-AA.tpl_sj_market.ini
    **تحميل** : JROOT/components/com_virtuemart/language/ar-AA/ar-AA.com_virtuemart_shoppers.ini
    **تحميل** : JROOT/administrator/components/com_virtuemart/language/ar-AA/ar-AA.com_virtuemart_countries.ini
    **تحميل** : JROOT/plugins/vmpayment/standard/language/ar-AA/ar-AA.plg_vmpayment_standard.ini
    **تحميل** : JROOT/language/ar-AA/ar-AA.mod_menu.ini
    **تحميل** : JROOT/language/ar-AA/ar-AA.mod_custom.ini
    **لم يتم تحميل** : JROOT/language/ar-AA/ar-AA.mod_acymailing.ini
    **لم يتم تحميل** : JROOT/modules/mod_acymailing/language/ar-AA/ar-AA.mod_acymailing.ini
    **تحميل** : JROOT/language/ar-AA/ar-AA.com_acymailing.ini
    **لم يتم تحميل** : JROOT/language/ar-AA/ar-AA.com_acymailing_custom.ini
    **لم يتم تحميل** : JROOT/language/ar-AA/ar-AA.mod_sj_instagram_gallery.ini
    **لم يتم تحميل** : JROOT/modules/mod_sj_instagram_gallery/language/ar-AA/ar-AA.mod_sj_instagram_gallery.ini
    **لم يتم تحميل** : JROOT/language/ar-AA/ar-AA.mod_sj_minicart_pro.ini
    **لم يتم تحميل** : JROOT/modules/mod_sj_minicart_pro/language/ar-AA/ar-AA.mod_sj_minicart_pro.ini
    **تحميل** : JROOT/plugins/vmshipment/weight_countries/language/ar-AA/ar-AA.plg_vmshipment_weight_countries.ini
    **لم يتم تحميل** : JROOT/language/ar-AA/ar-AA.mod_sj_vm_search_pro.ini
    **لم يتم تحميل** : JROOT/modules/mod_sj_vm_search_pro/language/ar-AA/ar-AA.mod_sj_vm_search_pro.ini
    **تحميل** : JROOT/language/ar-AA/ar-AA.mod_login.ini
    **تحميل** : JROOT/language/ar-AA/ar-AA.mod_languages.ini
    **تحميل** : JROOT/language/ar-AA/ar-AA.mod_virtuemart_currencies.ini
    **تحميل** : JROOT/administrator/language/ar-AA/ar-AA.plg_system_debug.ini

**المصفوفات الغير مترجمة** ------  Non-Translated Matrices


# JROOT/administrator/components/com_virtuemart/helpers/vmtext.php

000="$0.00"
="**بائع**"
__="تعريف المستخدم**"
_="المنتج**"
COM_VIRTUEMART_VIRTUEMART_CALC_ID="VIRTUEMART VIRTUEMART CALC ID??"
COM_VIRTUEMART_VIRTUEMART_USERFIELD_ID="VIRTUEMART VIRTUEMART USERFIELD ID??"
COM_VIRTUEMART_VIRTUEMART_CALC_ID="VIRTUEMART VIRTUEMART CALC ID"
COM_VIRTUEMART_VIRTUEMART_USERFIELD_ID="VIRTUEMART VIRTUEMART USERFIELD ID"

# JROOT/libraries/src/Language/Text.php

ALLCATEGORY="ALLCATEGORY"
BUTTON_CHECKOUT_LABEL="CHECKOUT LABEL"
BUTTON_UPDATE_LABEL="UPDATE LABEL"
EMPTY_CART_LABEL="CART LABEL"
GO_TO_CART="TO CART"
ITEM="ITEM"
ITEMS="ITEMS"
JOOMEXT_NO="NO"
JOOMEXT_YES="YES"
MODULE="Module"
MOD_LOGIN_ME="LOGIN ME"
PLACER_HOLDER_COUPON="HOLDER COUPON"
PLG_SYSTEM_YOUTECH_SHORTCODES_ACCORDION="SYSTEM YOUTECH SHORTCODES ACCORDION"
PLG_SYSTEM_YOUTECH_SHORTCODES_ACCORDION_DESC="SYSTEM YOUTECH SHORTCODES ACCORDION DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_ALL="SYSTEM YOUTECH SHORTCODES ALL"
PLG_SYSTEM_YOUTECH_SHORTCODES_ANIMATE="SYSTEM YOUTECH SHORTCODES ANIMATE"
PLG_SYSTEM_YOUTECH_SHORTCODES_ANIMATE_DESC="SYSTEM YOUTECH SHORTCODES ANIMATE DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_AUDIO="SYSTEM YOUTECH SHORTCODES AUDIO"
PLG_SYSTEM_YOUTECH_SHORTCODES_AUDIO_DESC="SYSTEM YOUTECH SHORTCODES AUDIO DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_BLOCKQUOTE="SYSTEM YOUTECH SHORTCODES BLOCKQUOTE"
PLG_SYSTEM_YOUTECH_SHORTCODES_BLOCKQUOTE_DESC="SYSTEM YOUTECH SHORTCODES BLOCKQUOTE DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_BLUR="SYSTEM YOUTECH SHORTCODES BLUR"
PLG_SYSTEM_YOUTECH_SHORTCODES_BLUR_DESC="SYSTEM YOUTECH SHORTCODES BLUR DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_BOX="SYSTEM YOUTECH SHORTCODES BOX"
PLG_SYSTEM_YOUTECH_SHORTCODES_BOX_DESC="SYSTEM YOUTECH SHORTCODES BOX DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_BUTTON="SYSTEM YOUTECH SHORTCODES BUTTON"
PLG_SYSTEM_YOUTECH_SHORTCODES_BUTTON_DESC="SYSTEM YOUTECH SHORTCODES BUTTON DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_CAROUSEL="SYSTEM YOUTECH SHORTCODES CAROUSEL"
PLG_SYSTEM_YOUTECH_SHORTCODES_CAROUSEL_DESC="SYSTEM YOUTECH SHORTCODES CAROUSEL DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_CHARTS="SYSTEM YOUTECH SHORTCODES CHARTS"
PLG_SYSTEM_YOUTECH_SHORTCODES_CHARTS_DESC="SYSTEM YOUTECH SHORTCODES CHARTS DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_CLEAR="SYSTEM YOUTECH SHORTCODES CLEAR"
PLG_SYSTEM_YOUTECH_SHORTCODES_CLEAR_DESC="SYSTEM YOUTECH SHORTCODES CLEAR DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_COLUMNS="SYSTEM YOUTECH SHORTCODES COLUMNS"
PLG_SYSTEM_YOUTECH_SHORTCODES_COLUMNS_DESC="SYSTEM YOUTECH SHORTCODES COLUMNS DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_CONTACT="SYSTEM YOUTECH SHORTCODES CONTACT"
PLG_SYSTEM_YOUTECH_SHORTCODES_CONTACT_DESC="SYSTEM YOUTECH SHORTCODES CONTACT DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_CONTENT="SYSTEM YOUTECH SHORTCODES CONTENT"
PLG_SYSTEM_YOUTECH_SHORTCODES_CONTENT_SLIDER="SYSTEM YOUTECH SHORTCODES CONTENT SLIDER"
PLG_SYSTEM_YOUTECH_SHORTCODES_CONTENT_SLIDER_DESC="SYSTEM YOUTECH SHORTCODES CONTENT SLIDER DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_CONTENT_STYLE="SYSTEM YOUTECH SHORTCODES CONTENT STYLE"
PLG_SYSTEM_YOUTECH_SHORTCODES_CONTENT_STYLE_DESC="SYSTEM YOUTECH SHORTCODES CONTENT STYLE DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_COUNTDOWN="SYSTEM YOUTECH SHORTCODES COUNTDOWN"
PLG_SYSTEM_YOUTECH_SHORTCODES_COUNTDOWN_DESC="SYSTEM YOUTECH SHORTCODES COUNTDOWN DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_COUNTER="SYSTEM YOUTECH SHORTCODES COUNTER"
PLG_SYSTEM_YOUTECH_SHORTCODES_COUNTER_DESC="SYSTEM YOUTECH SHORTCODES COUNTER DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_DIVIDER="SYSTEM YOUTECH SHORTCODES DIVIDER"
PLG_SYSTEM_YOUTECH_SHORTCODES_DIVIDER_DESC="SYSTEM YOUTECH SHORTCODES DIVIDER DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_DOCUMENT="SYSTEM YOUTECH SHORTCODES DOCUMENT"
PLG_SYSTEM_YOUTECH_SHORTCODES_DOCUMENT_DESC="SYSTEM YOUTECH SHORTCODES DOCUMENT DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_DROPCAP="SYSTEM YOUTECH SHORTCODES DROPCAP"
PLG_SYSTEM_YOUTECH_SHORTCODES_DROPCAP_DESC="SYSTEM YOUTECH SHORTCODES DROPCAP DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_DUMMY_IMAGE="SYSTEM YOUTECH SHORTCODES DUMMY IMAGE"
PLG_SYSTEM_YOUTECH_SHORTCODES_DUMMY_IMAGE_DESC="SYSTEM YOUTECH SHORTCODES DUMMY IMAGE DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_DUMMY_TEXT="SYSTEM YOUTECH SHORTCODES DUMMY TEXT"
PLG_SYSTEM_YOUTECH_SHORTCODES_DUMMY_TEXT_DESC="SYSTEM YOUTECH SHORTCODES DUMMY TEXT DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_FANCY_TEXT="SYSTEM YOUTECH SHORTCODES FANCY TEXT"
PLG_SYSTEM_YOUTECH_SHORTCODES_FANCY_TEXT_DESC="SYSTEM YOUTECH SHORTCODES FANCY TEXT DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_FLICKR="SYSTEM YOUTECH SHORTCODES FLICKR"
PLG_SYSTEM_YOUTECH_SHORTCODES_FLICKR_DESC="SYSTEM YOUTECH SHORTCODES FLICKR DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_FLIP_BOX="SYSTEM YOUTECH SHORTCODES FLIP BOX"
PLG_SYSTEM_YOUTECH_SHORTCODES_FLIP_BOX_DESC="SYSTEM YOUTECH SHORTCODES FLIP BOX DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_FRAME="SYSTEM YOUTECH SHORTCODES FRAME"
PLG_SYSTEM_YOUTECH_SHORTCODES_FRAME_DESC="SYSTEM YOUTECH SHORTCODES FRAME DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_GALLERY="SYSTEM YOUTECH SHORTCODES GALLERY"
PLG_SYSTEM_YOUTECH_SHORTCODES_GALLERY_DESC="SYSTEM YOUTECH SHORTCODES GALLERY DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_GOOGLE_FONT="SYSTEM YOUTECH SHORTCODES GOOGLE FONT"
PLG_SYSTEM_YOUTECH_SHORTCODES_GOOGLE_FONT_DESC="SYSTEM YOUTECH SHORTCODES GOOGLE FONT DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_GOOGLE_MAP="SYSTEM YOUTECH SHORTCODES GOOGLE MAP"
PLG_SYSTEM_YOUTECH_SHORTCODES_GOOGLE_MAP_DESC="SYSTEM YOUTECH SHORTCODES GOOGLE MAP DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_HEADING="SYSTEM YOUTECH SHORTCODES HEADING"
PLG_SYSTEM_YOUTECH_SHORTCODES_HEADING_DESC="SYSTEM YOUTECH SHORTCODES HEADING DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_HIGHLIGHT="SYSTEM YOUTECH SHORTCODES HIGHLIGHT"
PLG_SYSTEM_YOUTECH_SHORTCODES_HIGHLIGHTER="SYSTEM YOUTECH SHORTCODES HIGHLIGHTER"
PLG_SYSTEM_YOUTECH_SHORTCODES_HIGHLIGHTER_DESC="SYSTEM YOUTECH SHORTCODES HIGHLIGHTER DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_HIGHLIGHT_DESC="SYSTEM YOUTECH SHORTCODES HIGHLIGHT DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_ICON="SYSTEM YOUTECH SHORTCODES ICON"
PLG_SYSTEM_YOUTECH_SHORTCODES_ICON_DESC="SYSTEM YOUTECH SHORTCODES ICON DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_ICON_LIST="SYSTEM YOUTECH SHORTCODES ICON LIST"
PLG_SYSTEM_YOUTECH_SHORTCODES_ICON_LIST_DESC="SYSTEM YOUTECH SHORTCODES ICON LIST DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_IMAGE="SYSTEM YOUTECH SHORTCODES IMAGE"
PLG_SYSTEM_YOUTECH_SHORTCODES_IMAGE_COMPARE="SYSTEM YOUTECH SHORTCODES IMAGE COMPARE"
PLG_SYSTEM_YOUTECH_SHORTCODES_IMAGE_COMPARE_DESC="SYSTEM YOUTECH SHORTCODES IMAGE COMPARE DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_IMAGE_DESC="SYSTEM YOUTECH SHORTCODES IMAGE DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_LIGHTBOX="SYSTEM YOUTECH SHORTCODES LIGHTBOX"
PLG_SYSTEM_YOUTECH_SHORTCODES_LIGHTBOX_DESC="SYSTEM YOUTECH SHORTCODES LIGHTBOX DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_LINE_BREAK="SYSTEM YOUTECH SHORTCODES LINE BREAK"
PLG_SYSTEM_YOUTECH_SHORTCODES_LINE_BREAK_DESC="SYSTEM YOUTECH SHORTCODES LINE BREAK DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_LIST_STYLE="SYSTEM YOUTECH SHORTCODES LIST STYLE"
PLG_SYSTEM_YOUTECH_SHORTCODES_LIST_STYLE_DESC="SYSTEM YOUTECH SHORTCODES LIST STYLE DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_LIVICON="SYSTEM YOUTECH SHORTCODES LIVICON"
PLG_SYSTEM_YOUTECH_SHORTCODES_LIVICON_DESC="SYSTEM YOUTECH SHORTCODES LIVICON DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_MASONRY="SYSTEM YOUTECH SHORTCODES MASONRY"
PLG_SYSTEM_YOUTECH_SHORTCODES_MASONRY_DESC="SYSTEM YOUTECH SHORTCODES MASONRY DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_MEDIA="SYSTEM YOUTECH SHORTCODES MEDIA"
PLG_SYSTEM_YOUTECH_SHORTCODES_MEMBER="SYSTEM YOUTECH SHORTCODES MEMBER"
PLG_SYSTEM_YOUTECH_SHORTCODES_MEMBER_DESC="SYSTEM YOUTECH SHORTCODES MEMBER DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_MESSAGE_BOX="SYSTEM YOUTECH SHORTCODES MESSAGE BOX"
PLG_SYSTEM_YOUTECH_SHORTCODES_MESSAGE_BOX_DESC="SYSTEM YOUTECH SHORTCODES MESSAGE BOX DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_MODAL="SYSTEM YOUTECH SHORTCODES MODAL"
PLG_SYSTEM_YOUTECH_SHORTCODES_MODAL_DESC="SYSTEM YOUTECH SHORTCODES MODAL DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_NOTIFICATION="SYSTEM YOUTECH SHORTCODES NOTIFICATION"
PLG_SYSTEM_YOUTECH_SHORTCODES_NOTIFICATION_DESC="SYSTEM YOUTECH SHORTCODES NOTIFICATION DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_OTHER="SYSTEM YOUTECH SHORTCODES OTHER"
PLG_SYSTEM_YOUTECH_SHORTCODES_PANEL="SYSTEM YOUTECH SHORTCODES PANEL"
PLG_SYSTEM_YOUTECH_SHORTCODES_PANEL_DESC="SYSTEM YOUTECH SHORTCODES PANEL DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_PLAYER_LIST="SYSTEM YOUTECH SHORTCODES PLAYER LIST"
PLG_SYSTEM_YOUTECH_SHORTCODES_PLAYER_LIST_DESC="SYSTEM YOUTECH SHORTCODES PLAYER LIST DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_POINTS="SYSTEM YOUTECH SHORTCODES POINTS"
PLG_SYSTEM_YOUTECH_SHORTCODES_POINTS_DESC="SYSTEM YOUTECH SHORTCODES POINTS DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_POPOVERS="SYSTEM YOUTECH SHORTCODES POPOVERS"
PLG_SYSTEM_YOUTECH_SHORTCODES_POPOVERS_DESC="SYSTEM YOUTECH SHORTCODES POPOVERS DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_PORTFOLIO="SYSTEM YOUTECH SHORTCODES PORTFOLIO"
PLG_SYSTEM_YOUTECH_SHORTCODES_PORTFOLIO_DESC="SYSTEM YOUTECH SHORTCODES PORTFOLIO DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_PRICING_TABLES="SYSTEM YOUTECH SHORTCODES PRICING TABLES"
PLG_SYSTEM_YOUTECH_SHORTCODES_PRICING_TABLES_DESC="SYSTEM YOUTECH SHORTCODES PRICING TABLES DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_PROGRESS_BAR="SYSTEM YOUTECH SHORTCODES PROGRESS BAR"
PLG_SYSTEM_YOUTECH_SHORTCODES_PROGRESS_BAR_DESC="SYSTEM YOUTECH SHORTCODES PROGRESS BAR DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_PROMOTION_BOX="SYSTEM YOUTECH SHORTCODES PROMOTION BOX"
PLG_SYSTEM_YOUTECH_SHORTCODES_PROMOTION_BOX_DESC="SYSTEM YOUTECH SHORTCODES PROMOTION BOX DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_QR_CODE="SYSTEM YOUTECH SHORTCODES QR CODE"
PLG_SYSTEM_YOUTECH_SHORTCODES_QR_CODE_DESC="SYSTEM YOUTECH SHORTCODES QR CODE DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_SC_SOCIAL_LIKE="SYSTEM YOUTECH SHORTCODES SC SOCIAL LIKE"
PLG_SYSTEM_YOUTECH_SHORTCODES_SC_SOCIAL_LIKE_DESC="SYSTEM YOUTECH SHORTCODES SC SOCIAL LIKE DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_SC_SOCIAL_SHARE="SYSTEM YOUTECH SHORTCODES SC SOCIAL SHARE"
PLG_SYSTEM_YOUTECH_SHORTCODES_SECTION="SYSTEM YOUTECH SHORTCODES SECTION"
PLG_SYSTEM_YOUTECH_SHORTCODES_SECTION_DESC="SYSTEM YOUTECH SHORTCODES SECTION DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_SHADOW="SYSTEM YOUTECH SHORTCODES SHADOW"
PLG_SYSTEM_YOUTECH_SHORTCODES_SHADOW_DESC="SYSTEM YOUTECH SHORTCODES SHADOW DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_SKILLS="SYSTEM YOUTECH SHORTCODES SKILLS"
PLG_SYSTEM_YOUTECH_SHORTCODES_SKILLS_DESC="SYSTEM YOUTECH SHORTCODES SKILLS DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_SOCIAL_ICON="SYSTEM YOUTECH SHORTCODES SOCIAL ICON"
PLG_SYSTEM_YOUTECH_SHORTCODES_SOCIAL_ICON_DESC="SYSTEM YOUTECH SHORTCODES SOCIAL ICON DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_SPACER="SYSTEM YOUTECH SHORTCODES SPACER"
PLG_SYSTEM_YOUTECH_SHORTCODES_SPACER_DESC="SYSTEM YOUTECH SHORTCODES SPACER DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_SPLASH="SYSTEM YOUTECH SHORTCODES SPLASH"
PLG_SYSTEM_YOUTECH_SHORTCODES_SPLASH_DESC="SYSTEM YOUTECH SHORTCODES SPLASH DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_TABLE="SYSTEM YOUTECH SHORTCODES TABLE"
PLG_SYSTEM_YOUTECH_SHORTCODES_TABLE_DESC="SYSTEM YOUTECH SHORTCODES TABLE DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_TABS="SYSTEM YOUTECH SHORTCODES TABS"
PLG_SYSTEM_YOUTECH_SHORTCODES_TABS_DESC="SYSTEM YOUTECH SHORTCODES TABS DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_TESTIMONIAL="SYSTEM YOUTECH SHORTCODES TESTIMONIAL"
PLG_SYSTEM_YOUTECH_SHORTCODES_TESTIMONIAL_DESC="SYSTEM YOUTECH SHORTCODES TESTIMONIAL DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_TOGGLE="SYSTEM YOUTECH SHORTCODES TOGGLE"
PLG_SYSTEM_YOUTECH_SHORTCODES_TOGGLE_DESC="SYSTEM YOUTECH SHORTCODES TOGGLE DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_TOOLTIP="SYSTEM YOUTECH SHORTCODES TOOLTIP"
PLG_SYSTEM_YOUTECH_SHORTCODES_TOOLTIP_DESC="SYSTEM YOUTECH SHORTCODES TOOLTIP DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_URL_UNDERLINE="SYSTEM YOUTECH SHORTCODES URL UNDERLINE"
PLG_SYSTEM_YOUTECH_SHORTCODES_URL_UNDERLINE_DESC="SYSTEM YOUTECH SHORTCODES URL UNDERLINE DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_VIMEO="SYSTEM YOUTECH SHORTCODES VIMEO"
PLG_SYSTEM_YOUTECH_SHORTCODES_VIMEO_DESC="SYSTEM YOUTECH SHORTCODES VIMEO DESC"
PLG_SYSTEM_YOUTECH_SHORTCODES_YOUTUBE="SYSTEM YOUTECH SHORTCODES YOUTUBE"
PRODUCT_LABEL="LABEL"
SEARCH="SEARCH"
YOUR_CART="CART"
Title: Re: multi language English, Arabic
Post by: jjk on July 17, 2018, 14:19:44 PM
    **تحميل** : JROOT/language/ar-AA/ar-AA.com_virtuemart.ini
    **تحميل** : JROOT/components/com_virtuemart/language/ar-AA/ar-AA.com_virtuemart.ini

The second file will overwrite the first one. The original site language translation files should install ar-AA.com_virtuemart.ini in the first location.
Perhaps your sj minicart installed the second one? Check if the English line is translated into Arabic in the second one.
Title: Re: multi language English, Arabic
Post by: mshawali on July 17, 2018, 15:03:25 PM
Quote from: jjk on July 17, 2018, 14:19:44 PM
    **تحميل** : JROOT/language/ar-AA/ar-AA.com_virtuemart.ini
    **تحميل** : JROOT/components/com_virtuemart/language/ar-AA/ar-AA.com_virtuemart.ini

The second file will overwrite the first one. The original site language translation files should install ar-AA.com_virtuemart.ini in the first location.
Perhaps your sj minicart installed the second one? Check if the English line is translated into Arabic in the second one.

Dear JJk

Yes its translated in both files

I try a test to change the /components/com_virtuemart/language/en-GB/en-GB.com_virtuemart.ini and i write some arabic text in line 391 and it appears on registration (see attached image), that means (i don't know why) VM look only for the file en-GB.com_virtuemart.ini in the folder   /components/com_virtuemart/language
Title: Re: multi language English, Arabic
Post by: Studio 42 on July 17, 2018, 15:32:51 PM
@mshawali, the Joomla logic is to load /components/com_virtuemart/language/ar-AA/ar-AA.com_virtuemart.ini if itexist and language/ar-AA/ar-AA.com_virtuemart.ini if the first file not exist.
You should not have any /components/com_virtuemart/language/ar-AA/ar-AA.com_virtuemart.ini file, but only 1 file /language/ar-AA/ar-AA.com_virtuemart.ini
You certainly update from Virtuemart 2, so remove the files:
/components/com_virtuemart/language/ar-AA/ar-AA.com_virtuemart.ini
/administrator/components/com_virtuemart/language/ar-AA/ar-AA.com_virtuemart.ini
or better remove the folders:
/components/com_virtuemart/language/ar-AA/ and /administrator/components/com_virtuemart/language/ar-AA/
Title: Re: multi language English, Arabic
Post by: mshawali on July 17, 2018, 15:49:50 PM
Quote from: Studio 42 on July 17, 2018, 15:32:51 PM
@mshawali, the Joomla logic is to load /components/com_virtuemart/language/ar-AA/ar-AA.com_virtuemart.ini if itexist and language/ar-AA/ar-AA.com_virtuemart.ini if the first file not exist.
You should not have any /components/com_virtuemart/language/ar-AA/ar-AA.com_virtuemart.ini file, but only 1 file /language/ar-AA/ar-AA.com_virtuemart.ini
You certainly update from Virtuemart 2, so remove the files:
/components/com_virtuemart/language/ar-AA/ar-AA.com_virtuemart.ini
/administrator/components/com_virtuemart/language/ar-AA/ar-AA.com_virtuemart.ini
or better remove the folders:
/components/com_virtuemart/language/ar-AA/ and /administrator/components/com_virtuemart/language/ar-AA/

Dear Studio 42

Thanks for your answer.

I have deleted the folders as you suggest  /components/com_virtuemart/language/ar-AA/ and /administrator/components/com_virtuemart/language/ar-AA/ and nothing happens it still only seeing English as before, any suggestions?

what you mean (You certainly update from Virtuemart 2) i am using a new fresh copy of VM2 and this site is under development (not lunched yet in testing process)
Title: Re: multi language English, Arabic
Post by: Studio 42 on July 17, 2018, 16:08:43 PM
 Virtuemart 2 is the old release For Joomla 2.5. Currently official Virtuemart release is 3.2.14
If you enable language debug in Joomla config. Have you no error on loading the files (displayed on bottom of your page)?
Sometime the file is not UTF-8 encoded when you edit it(with notepad for eg.) or you have a missing double quote.
If you have a missing double quote, then all key after get not translated for eg. So perhaps the issue is in a language file.
Title: Re: multi language English, Arabic
Post by: mshawali on July 17, 2018, 16:47:59 PM
Quote from: Studio 42 on July 17, 2018, 16:08:43 PM
Virtuemart 2 is the old release For Joomla 2.5. Currently official Virtuemart release is 3.2.14
If you enable language debug in Joomla config. Have you no error on loading the files (displayed on bottom of your page)?
Sometime the file is not UTF-8 encoded when you edit it(with notepad for eg.) or you have a missing double quote.
If you have a missing double quote, then all key after get not translated for eg. So perhaps the issue is in a language file.

Dear Studio 42

I know that VM2 is old but this is what we have and i can't change it now.

When i edit the file i was sure i edit it online using an online editor and sure its UTF-8 encoded, i look again for the 2 line if there is missing <> or " or ' but its all there and not missing, i copied the 2 lines as below


COM_VIRTUEMART_REG_COMPLETE="<div class='componentheading'>اكتملت عملية التسجيل</div>"
COM_VIRTUEMART_REG_COMPLETE_ACTIVATE="<div class='componentheading'>اكتملت عملية التسجيل</div> <br />لقد تم إنشاء حسابك وتم ارسال رابط التفعيل إلى عنوان البريد الإلكتروني الذي قمت بإدخاله. لاحظ أنه يجب عليك تفعيل الحساب من خلال النقر على رابط التنشيط عند الحصول على البريد الإلكتروني قبل أن تتمكن من الدخول. يرجى النظر في البريد  الغير هام اذا لم تجد البريد في سلة الوارد"
Title: Re: multi language English, Arabic
Post by: jjk on July 17, 2018, 19:27:21 PM
Quote from: mshawali on July 17, 2018, 16:47:59 PM
I know that VM2 is old but this is what we have and i can't change it now.
I would expect a number of problems using the latest Joomla with VM2.x, because of many changes in newer Joomla versions, which are not taken care of in old VM2.x versions. The longer you wait with the migration to VM3.x, the more difficult it will be to do.

Just wondering if there is a right-to-left issue with the lines which don't translate. What happens if you remove the <div class='componentheading'>...</div> and leave only the arabic text between the double quotes?
Title: Re: multi language English, Arabic
Post by: mshawali on July 17, 2018, 20:46:51 PM
Quote from: jjk on July 17, 2018, 19:27:21 PM
Quote from: mshawali on July 17, 2018, 16:47:59 PM
I know that VM2 is old but this is what we have and i can't change it now.
I would expect a number of problems using the latest Joomla with VM2.x, because of many changes in newer Joomla versions, which are not taken care of in old VM2.x versions. The longer you wait with the migration to VM3.x, the more difficult it will be to do.

Just wondering if there is a right-to-left issue with the lines which don't translate. What happens if you remove the <div class='componentheading'>...</div> and leave only the arabic text between the double quotes?

i know but its late for upgrade now, any way yes i tried to do that also the same, as i said before to JJk it keeps looking to en-GB.com_virtuemart.ini since i make changes there and see it, it seems the only way to put arabic and english transaltion in that file, other things is working fine.

is there a possibility in registration page code (which i dont know where it's location or name) it calls only the english code? i know it suppose not but i am wondering is it possible?
Title: Re: multi language English, Arabic
Post by: jjk on July 17, 2018, 22:47:22 PM
I'm running out of ideas...
If you published the Joomla registration module, you will need one module with the language selection set to English and and a copy of the module with the language selection set to Arabic in order to switch languages correctly.

Does the 'Debug Language' show any 'Parsing Errors'?
Title: Re: multi language English, Arabic
Post by: Studio 42 on July 17, 2018, 23:48:44 PM
jjk, i think that max solved the problem in Virtuemart 3, it's hard to know the real issue, the solution is to update to vm 3.2.14
Title: Re: multi language English, Arabic
Post by: mshawali on July 18, 2018, 10:14:45 AM
Quote from: jjk on July 17, 2018, 22:47:22 PM
I'm running out of ideas...
If you published the Joomla registration module, you will need one module with the language selection set to English and and a copy of the module with the language selection set to Arabic in order to switch languages correctly.

Does the 'Debug Language' show any 'Parsing Errors'?

Dear JKK and Studio 42

I am sorry today i entered to Joomla admin and notice that VM is not VM2 its ver 3.2.12 not VM2 as i said before (i was told from my college its VM2) sorry for that.

i sent to you Debug Language results there is no Parsing Errors there just what i sent to you, do you want me to do it again and send you the results? as you said before to use VM registration is more safe than joomla registration,  this is what i understand from you.

as i said before is it possible the registration code page is dealing with English only? can i know what pages responsible for regurgitation form to check them, or if its possible you can check?
Title: Re: multi language English, Arabic
Post by: Studio 42 on July 18, 2018, 13:46:13 PM
@mshawali,
have you tested
Quote from: jjk on July 17, 2018, 11:56:49 AM
Quote from: mshawali on July 17, 2018, 11:02:29 AM
...any suggestions to do next?
Enable 'Debug Language' in the Joomla Configuration, clear all cache and then check for errors in the debug information at the bottom of the registration confirmation view.
You should see the errors in all virtuemart pages, not only registration done.
Title: Re: multi language English, Arabic
Post by: mshawali on July 19, 2018, 09:25:56 AM
Quote from: Studio 42 on July 18, 2018, 13:46:13 PM
@mshawali,
have you tested
Quote from: jjk on July 17, 2018, 11:56:49 AM
Quote from: mshawali on July 17, 2018, 11:02:29 AM
...any suggestions to do next?
Enable 'Debug Language' in the Joomla Configuration, clear all cache and then check for errors in the debug information at the bottom of the registration confirmation view.
You should see the errors in all virtuemart pages, not only registration done.

Dear JJK

I activate Debug Language in the Joomla Configuration, cache is disabled, and the results is below (all pages have the same result).



**وحدة تحكم تشخيص الأخطاء لجوملا**
**تحليل الأخطاء في ملفات اللغة** errors in language files

JROOT/modules/mod_sj_instagram_gallery/language/ar-AA/ar-AA.mod_sj_instagram_gallery.ini : error(s) in line(s) 157, 158, 159
JROOT/modules/mod_sj_vm_listing_tabs/language/ar-AA/ar-AA.mod_sj_vm_listing_tabs.ini : error(s) in line(s) 157, 158, 159
**ملفات اللغة محملة** loaded language files
**تحميل** loaded : JROOT/language/ar-AA/ar-AA.ini
**تحميل** : JROOT/language/ar-AA/ar-AA.lib_joomla.ini
**تحميل** : JROOT/administrator/language/ar-AA/ar-AA.plg_system_updatenotification.ini
**تحميل** : JROOT/administrator/language/ar-AA/ar-AA.plg_system_fields.ini
**تحميل** : JROOT/administrator/language/ar-AA/ar-AA.plg_system_logout.ini
**تحميل** : JROOT/language/ar-AA/ar-AA.com_virtuemart.ini
**تحميل** : JROOT/language/ar-AA/ar-AA.com_acysms.ini
**تحميل** : JROOT/language/ar-AA/ar-AA.com_virtuemart.sef.ini
**تحميل** : JROOT/language/ar-AA/ar-AA.mod_menu.ini
**تحميل** : JROOT/language/ar-AA/ar-AA.mod_custom.ini
**تحميل** : JROOT/language/ar-AA/ar-AA.com_acymailing.ini
**تحميل** : JROOT/modules/mod_sj_instagram_gallery/language/ar-AA/ar-AA.mod_sj_instagram_gallery.ini
**تحميل** : JROOT/modules/mod_sj_vm_listing_tabs/language/ar-AA/ar-AA.mod_sj_vm_listing_tabs.ini
**تحميل** : JROOT/language/ar-AA/ar-AA.com_virtuemart_shoppers.ini
**تحميل** : JROOT/administrator/language/ar-AA/ar-AA.com_virtuemart_countries.ini
**تحميل** : JROOT/language/ar-AA/ar-AA.mod_banners.ini
**تحميل** : JROOT/plugins/vmshipment/weight_countries/language/ar-AA/ar-AA.plg_vmshipment_weight_countries.ini
**تحميل** : JROOT/plugins/vmpayment/standard/language/ar-AA/ar-AA.plg_vmpayment_standard.ini
**تحميل** : JROOT/modules/mod_sj_vm_search_pro/language/ar-AA/ar-AA.mod_sj_vm_search_pro.ini
**تحميل** : JROOT/language/ar-AA/ar-AA.mod_login.ini
**تحميل** : JROOT/language/ar-AA/ar-AA.mod_languages.ini
**تحميل** : JROOT/language/ar-AA/ar-AA.mod_virtuemart_currencies.ini
**تحميل** : JROOT/administrator/language/ar-AA/ar-AA.plg_system_debug.ini

**لم يتم تحميل** not loaded: JROOT/plugins/system/ytshortcodes/language/ar-AA/ar-AA.plg_system_ytshortcodes.ini
**لم يتم تحميل** : JROOT/administrator/language/ar-AA/ar-AA.plg_system_helix3.ini
**لم يتم تحميل** : JROOT/plugins/system/helix3/language/ar-AA/ar-AA.plg_system_helix3.ini
**لم يتم تحميل** : JROOT/administrator/language/ar-AA/ar-AA.plg_system_plg_sj_vm_quickview.ini
**لم يتم تحميل** : JROOT/plugins/system/plg_sj_vm_quickview/language/ar-AA/ar-AA.plg_system_plg_sj_vm_quickview.ini
**لم يتم تحميل** : JROOT/language/ar-AA/ar-AA.mod_sj_vm_search_pro.ini
**لم يتم تحميل** : JROOT/language/ar-AA/ar-AA.mod_sj_vm_categories.ini
**لم يتم تحميل** : JROOT/modules/mod_sj_vm_categories/language/ar-AA/ar-AA.mod_sj_vm_categories.ini
**لم يتم تحميل** : JROOT/language/ar-AA/ar-AA.mod_sj_minicart_pro.ini
**لم يتم تحميل** : JROOT/modules/mod_sj_minicart_pro/language/ar-AA/ar-AA.mod_sj_minicart_pro.ini
**لم يتم تحميل** : JROOT/language/ar-AA/ar-AA.com_acymailing_custom.ini
**لم يتم تحميل** : JROOT/language/ar-AA/ar-AA.mod_sj_instagram_gallery.ini
**لم يتم تحميل** : JROOT/language/ar-AA/ar-AA.com_acysms_custom.ini
**لم يتم تحميل** : JROOT/language/ar-AA/ar-AA.tpl_sj_market.ini
**لم يتم تحميل** : JROOT/templates/sj_market/language/ar-AA/ar-AA.tpl_sj_market.ini
**لم يتم تحميل** : JROOT/language/ar-AA/ar-AA.com_sppagebuilder.ini
**لم يتم تحميل** : JROOT/components/com_sppagebuilder/language/ar-AA/ar-AA.com_sppagebuilder.ini
**لم يتم تحميل** : JROOT/administrator/language/ar-AA/ar-AA.com_sppagebuilder.ini
**لم يتم تحميل** : JROOT/language/ar-AA/ar-AA.mod_acymailing.ini
**لم يتم تحميل** : JROOT/modules/mod_acymailing/language/ar-AA/ar-AA.mod_acymailing.ini
**لم يتم تحميل** : JROOT/administrator/components/com_virtuemart/language/ar-AA/ar-AA.com_virtuemart.ini
**لم يتم تحميل** : JROOT/language/ar-AA/ar-AA.mod_sj_vm_listing_tabs.ini

**المصفوفات الغير مترجمة**

# JROOT/administrator/components/com_virtuemart/helpers/vmtext.php

000="$0.00"
_="المنتج**"
COM_VIRTUEMART_VIRTUEMART_CALC_ID="VIRTUEMART VIRTUEMART CALC ID??"
COM_VIRTUEMART_VIRTUEMART_CATEGORY_ID="VIRTUEMART VIRTUEMART CATEGORY ID??"
COM_VIRTUEMART_VIRTUEMART_RATING_ID="VIRTUEMART VIRTUEMART RATING ID??"
COM_VIRTUEMART_VIRTUEMART_USERFIELD_ID="VIRTUEMART VIRTUEMART USERFIELD ID??"
COM_VIRTUEMART_VIRTUEMART_USER_ID="VIRTUEMART VIRTUEMART USER ID??"
COM_VIRTUEMART_VIRTUEMART_VENDOR_ID="VIRTUEMART VIRTUEMART VENDOR ID??"
COM_VIRTUEMART_CART_PRODUCT_ADDED="VIRTUEMART CART PRODUCT ADDED"
COM_VIRTUEMART_MINICART_ERROR_JS="VIRTUEMART MINICART ERROR JS"
Title: Re: multi language English, Arabic
Post by: jjk on July 19, 2018, 12:08:30 PM
Quote
JROOT/modules/mod_sj_instagram_gallery/language/ar-AA/ar-AA.mod_sj_instagram_gallery.ini : error(s) in line(s) 157, 158, 159
JROOT/modules/mod_sj_vm_listing_tabs/language/ar-AA/ar-AA.mod_sj_vm_listing_tabs.ini : error(s) in line(s) 157, 158, 159

You should correct those errors, because they might prevent following ini files from being loaded correctly.
Title: Re: multi language English, Arabic
Post by: mshawali on July 19, 2018, 12:48:43 PM
Quote from: jjk on July 19, 2018, 12:08:30 PM
Quote
JROOT/modules/mod_sj_instagram_gallery/language/ar-AA/ar-AA.mod_sj_instagram_gallery.ini : error(s) in line(s) 157, 158, 159
JROOT/modules/mod_sj_vm_listing_tabs/language/ar-AA/ar-AA.mod_sj_vm_listing_tabs.ini : error(s) in line(s) 157, 158, 159

You should correct those errors, because they might prevent following ini files from being loaded correctly.

These errors appears in English also, i don't know why it appears (below how it's written in English), is it written wrong in English? both mod_sj_instagram_gallery and mod_sj_vm_listing_tabs have the same lines as written below

TIMES = 'times'--- does it mean to change ' to " in 3 fields here
TIME = 'time'
READ = 'Read'
Title: Re: multi language English, Arabic
Post by: jjk on July 19, 2018, 14:03:27 PM
Quote from: mshawali on July 19, 2018, 12:48:43 PM
...does it mean to change ' to " in 3 fields here

Yes
Title: Re: multi language English, Arabic
Post by: mshawali on July 19, 2018, 14:10:00 PM
Quote from: jjk on July 19, 2018, 14:03:27 PM
Quote from: mshawali on July 19, 2018, 12:48:43 PM
...does it mean to change ' to " in 3 fields here

Yes

i changed all of them in Arabic and English, it seems there is no way to solve this i will do put Arabic and English together in en-GB.com_virtuemart and that's it as i did before.

But i also face other translations problems shall i mention them here like translate currency and countries when i add currency and country i cant translation them to Arabic only English appears? or open other topic? what its better
Title: Re: multi language English, Arabic
Post by: Studio 42 on July 19, 2018, 14:17:50 PM
Have you try to use Joomla override ?
Note : you have to translate admin and front in some case.
Title: Re: multi language English, Arabic
Post by: mshawali on July 19, 2018, 14:29:31 PM
Quote from: Studio 42 on July 19, 2018, 14:17:50 PM
Have you try to use Joomla override ?
Note : you have to translate admin and front in some case.

when i go to override Arabic i find the translation is there and its correct in both front end and admin, i can't override in ennglish it will change it in english so the only solution is to write it in arabic and english as attached and that's it.

What about other problems? shall i continue here? or open other question
Title: Re: multi language English, Arabic
Post by: jjk on July 19, 2018, 15:39:18 PM
Perhaps it would be a good idea to search for the untranslated keys/strings in your sj-xxx files. You seem to use one of these problem-ladden templates which install a lot of unnecessary stuff and override a lot of the original files. Since template overrides are loaded last, this might explain why the orginal translation doesn't show.
Title: Re: multi language English, Arabic
Post by: mshawali on July 22, 2018, 15:17:23 PM
Quote from: jjk on July 19, 2018, 15:39:18 PM
Perhaps it would be a good idea to search for the untranslated keys/strings in your sj-xxx files. You seem to use one of these problem-ladden templates which install a lot of unnecessary stuff and override a lot of the original files. Since template overrides are loaded last, this might explain why the orginal translation doesn't show.

Dear JJk

I finish today translating all SJ-xxx files to arabic but unfortunately same problem still and not solved yet, any way as i said i am satisfied with the results i get when i insert Arabic in English bot at the same note.

Can you please now since when i want to write currencies and countries in Arabic for example i can't do that since the Arabic lang don't appear when i open a currency or country, can you pls help in this issue