News:

Support the VirtueMart project and become a member

Main Menu

Language change problem

Started by fuldfart, November 14, 2012, 16:11:46 PM

Previous topic - Next topic

fuldfart

Hi'

I am trying to change to language of my shop from english to danish.
The site and administrator is set to danish (and is working), and I uploaded/installed the Virtuemart Language .zip file in the
"extensions"
The problem is that it is NOT changing some how ?
My joomla version is:  2.5.8
Virtuemart is version: 2.0.14  (I had the same problem in 2.0.12)

What am I doing wrong ?


jjk

Did you follow this short tutorial? http://forum.virtuemart.net/index.php?topic=104901.0
Don't forget to select both languages in VM2 Configuration - Shop - Language settings.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

klodovik

hello 2 all

I am trying to change to language of my shop from english to serbian.

I have joomla 2.5.8, VM is 2.0.14

The site and administrator is set to serbian (and is working), but VM is problem.

How to configure that?

Ty

jjk

Did you read the post above yours and the provided link? If yes, is it your serbian VirtueMart user interface which doesn't show or can you see that and only your serbian product descriptions don't show?
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

klodovik

VirtueMart user interface which doesn't show in my language, and serbian product descriptions not show in my language 2.

Sry, if i have typing mistake, my language is bad...

JJK, i read post above...

In my directories: administrator -- components -- com_virtuemart -- have next folder: asset, controllers, elements, helper, install, liveupdate, models, plugins, tables, views....etc files: admin.virtuemart.php, changelog.php, copyright.php, index.html, version.php, virtuemart.cfg, virtuemart.xml.

Can u sugessted me about this path, how to create right folder and where?

(Warning, the Safe Path is empty, for safety reasons it is very important to create a folder in a path not accessible by an URL, create also a folder invoices in it to store your sensitive data secure.)

Ty JJK

jjk

After installing the serbian language pack for VirtueMart, you have to enable it in VirtueMart configuration. However, I'm pretty shure that that's not your problem. The problem probably is that most available language packs are created from the translations available at Transifex. Looking at the serbian translation, only a small portion of VirtueMart has been translated already. See here:
https://www.transifex.com/projects/p/virtuemart/language/sr_RS/
Looks like the serbian translation team needs more help  ;)
Meanwhile you can eventually enable 'Use english as fallback for untranslated strings' in VirtueMart configuration - Language Settings (probably looks nicer).
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

balai


fuldfart

I still have problems with getting Virtuemart to be in danish.
I run joomla 2.5.8

My joomla site (and now also a test site) is running with danish language in both frontend and backend.

In Virtuemark (2.0.14) I have "Danish (DK)" in the configuration > shop ...under language settings/ multilingual shop and
the "use english as fallback ......"

Then the guide said I have to go to the categories and choose danish from some dropdown menu ?
http://forum.virtuemart.net/index.php?topic=104901.0
I cant find that option anywhere ?
The guide says:

•The VM2 categories can be translated by selecting one of your other languages in the VM2 'Product Category Form' language dropdown list on top of the view.
•Similarly, product descriptions in VM2 can be translated by selecting a different language from the dropdown list in the 'Product Edit' view.
(Note: Set Joomla to use TinyMCE editor or use the JCE editor version 2.2.1 or higher. There is a conflict between VM2 and other editors)
•In Joomla create a menu for each of your languages, holding menu items for all your VM2 categories and the cart.

What can I be doing wrong ?

Thank you for helping !

John

jjk

Do you want a bilingual shop (english/danish) or danish only? If you want a bilingual shop, you have to select both languages in the VM 'Configuration' - 'Shop' tab - 'Language settings' field. Then you will have a language dropdown menu in the 'Product category form' and the 'Product Edit' - Information tab. If you want danish only and have only danish in the VM 'Configuration' - 'Shop' tab - 'Language settings' field, there is no language dropdown menu in 'Product category form' and 'Product Edit' - Information tab.

If you want danish only, you can probably leave the 'Multilanguage Shop' field empty. In this case VirtueMart should pick the language you have set as default for your Joomla frontend and backend. If you added danish after you started to enter products into your shop, you should check in your database tables with phpMyadmin, if your danish category and product descriptions are actually in tables with a da_dk suffix and not in the english tables with en_gb suffix.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

fuldfart

It is (for now) Danish only...

The joomla site is fresh installed, the only other thing installed is Virtuemart and a template (shoplap)
I did not install the joomla sample data, I installed the Virtuemart sampledata

I looked at the tables and in phpmyadmin, and I don't se any danish in the _da_dk tables
exmple: <prefix>_virtuemart_categories_da_dk  (all in english.... but that is just labels right ?)
The real problem is the "add to cart" "tax" "price" and so on fields.

Maybe it is that the newest danish language file is version 2.12 and I installed 2.14  ?
but still.... some of it should work ...?

Thank you for helping out !

Best regards
John Andersen

fuldfart

Problem solved :-D

It was the language file I had installed that did not work.

Thanks to Henrik Holm Nielsen who pointed out that
by going to http://websitename/language/da-DK/da-DK.com_virtuemart.ini
I should be able to se the language file.
That was not possible at my site. I Installed a new file and it finaly worked :-D

Thanks to everyone taking time to answer !!!

Best regards
John Andersen
Virtuamart wannabee shop_owner :-)

jjk

If you have a problem with one of the language files, it often helps to enable 'Debug Language" in Joomla configuration. This way the Joomla debugger may show i.e. a typo like a missing quote in one of the lines, which can result in the language file not loading.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

klodovik

Can i use older version of virtuemart, and older serbian language pack?


jjk

@klodovik
In your case I think it would make more sense to invest a few days and help with the translation into serbian language. Some information is for translators is available here:
http://dev.virtuemart.net/projects/virtuemart/wiki/Writing_translation
The older VirtueMart 1.x versions are not supported anymore and are not compatible with Joomla 2.5.x and 3.x.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

klodovik

#14
Ok JJk, ty...

Now is serbian languag full translated.

How is correct installation now?

I read alot theme here in forum about installation. I dont figure right way.

I have in my language pack, 3 files: administrator, language and .xml file. Can i put all this files in directories --> administrator --> components --> com_virtuemart?

Ty

edit:

About this warning --> Warning, the Safe Path is empty, for safety reasons it is very important to create a folder in a path not accessible by an URL, create also a folder invoices in it to store your sensitive data secure.

What i need 2 do in right way?




[attachment cleanup by admin]