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

[resolved] Last Virtuermart does not work is not the multilingual!

Started by tobitobi64, March 04, 2014, 11:32:33 AM

Previous topic - Next topic

tobitobi64

Hello to all!
I have carefully read all the posts and from http://forum.virtuemart.net/index.php?topic=118455.0 what I understand the problem has risen with the new version of Virtuemart.
I upgraded 2.0.26d Virtuemart on Joomla 2.5.9 and are not able to use the multilingual capabilities! the problem is when I create a product category and I change the language field and at a time unless the product category I will return to the default language (does not save the language), and then in the front end there is no difference between Italian - English - German.

so for now they are not able to ultilizzare the multi-language capabilities, and for me this is a big problem.
I can fix it somehow? downgrade?

about the flag, you receive comes ONLY when change (momentarily) the language, but after that I saved can not see!

thanks for support


[attachment cleanup by admin]

jjk

Try to click on Tools > Tools & Migration > Install or if necessary update tables and check if it works afterwards.
Also, you may check if you have set the image prefix to 'it' and the language tag to 'it-IT' in Joomla administration > Language Manager > Content for Italian and 'de' / 'de-DE' for German.

I'm using version 2.0.26d in my bilingual shop and don't have the problem you describe.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

tobitobi64

I do not know exactly what it might be ....
I updated the tables to the database and nothing .... I checked the languages ​​of joomla and it is as you say alright ( attach picture )

even as you have seen this person had the same problem
http://forum.virtuemart.net/index.php?topic=121341.0

[attachment cleanup by admin]

jjk

Maybe it helps to re-select the languages in VM Configuration > Shop > Language settings and save the configuration again.
Any reason why you use the old Joomla 2.5.9? I'm pretty shure VM 2.0.26d has not been tested with Joomla 2.5.9 (One year old and you should update it for security reasons)
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

jenkinhill

Quote from: jjk on March 05, 2014, 22:25:41 PM
Any reason why you use the old Joomla 2.5.9? I'm pretty shure VM 2.0.26d has not been tested with Joomla 2.5.9 (One year old and you should update it for security reasons)

Very true - last week I had the pleasure of restoring a J2.5.10 site which had been hacked. The site owner thought it was too much hastle to update it despite seeing the "Update is available" alerts in the backend. Luckily it was only a brochure site but it cost him 5 hours of my time. http://forum.virtuemart.net/index.php?topic=118683.0
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

tobitobi64

ok, I updated to Joomla 2.5.18 then I upgraded to the new tables and virtuemart aio 2.0.26d, then I deleted the language from the saved configuration and then reinsert the new languages, but the problem persists when I save the language in a category always brings me back to the primary language.
I do not know where to turn heads ..

help! :'(

tobitobi64

I found out one thing ... if I go to the database, there are 2 fields in the first languages ​​I realized that appears only one language?
-en-GB
  and in the second field languages ​​displaying my 3 languages ​​that I have configured, maybe it can be a clue to the cause of the problem.

tobitobi64

last thing ...

I added the languages ​​on the database, which were missing, but one thing when I went on virtuemart and I changed the language in class I tried to change the language back to the last time and instead of using English I entered -> German

and I came out of an unusual window

"No (de-de) translation product, please fill in the fields marked with Flags"

What does that mean? may be the cause of the problem?

jjk

Quote from: tobitobi64 on March 06, 2014, 12:45:52 PM
... but the problem persists when I save the language in a category always brings me back to the primary language.

That's currently the normal VM behaviour. If you translate something in VM and click on 'Save' it automatically jumps back to the Joomla site (frontend) default language.
That might change in one of the next releases.

Quote"No (de-de) translation product, please fill in the fields marked with Flags"

Nothing to worry about. It is just a popup information VM gives you if when you switch languages in case you have not saved a translation yet (might be instead filled with a copy of the primary language text).
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

tobitobi64



QuoteThat's currently the normal VM behaviour. If you translate something in VM and click on 'Save' it automatically jumps back to the Joomla site (frontend) default language.
That might change in one of the next releases.

It's not working! category in addition to that when I save and continues to give me the default language on the back end, even on the front-end does not work and gives me all the categories in the default language (Italian), even those that should be in English.

attached screenshots of exactly what happens

[attachment cleanup by admin]

jjk

Your screenshot No1 is looking like you have entered the english product description in the italian language (default) product table. The category name shows 'Olive Oil' and the description says 'This extra virgin olive oil...".  Maybe you should temporarily add a language tag to each of your product names and descriptions like 'Olive Oil english name" and "English text: This extra virgin olive oil...'  to your translations in order to check if your translations are saved in the correct language database tables.
You can also check it e.g in the database tables using phpMyAdmin or a similar database tool.

Screenshot No3: Why? As I said previously - if you save a translation for example in German or English, VM2 currently saves the translation and thereafter automatically returns to the default language, which is identical with your Joomla site default language. So if you want to check if your english translation was saved correctly, you have to select 'English' again from the language dropdown in order to see it.

Are you working on an update for the Frantoio Casali VM1.x shop? (That's what Google showed me when I searched for your "Olio Extra-Vergine di oliva")
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

tobitobi64

then change the name categories!
and I discovered something ...
when I want to change a product / category name from "Olive Oil" to "Olive Oil-en" and unless everything is fine.

but you I wanted to change to a new name and edit the language and subject TOGETHER -> I did not change neither the name nor the tongue as if he does not accept the changes

then

if I'm going to create a category or product from scratch does not make me set any language except the default (Italian) then save and then allows me to change the language, but not to save her and the db shows me 2 times in the category EN and IT (attached image)
Db_virtuemart_categories_de_de = empty



Italian http://anticatenutadelmulino.it/site/index.php/it/prodotti

English http://anticatenutadelmulino.it/site/index.php/en/product

I then tried to delete the row from the db directly "Olive Oil-en" in the field Db_virtuemart_categories_it_it but in this case the category is no longer displayed by the back-end of virtuemart

Version virtuemart: 2.0.26d


[attachment cleanup by admin]

jjk

I'm not shure if I understand all of your english language description of your problem (Sorry, but I don't speak Italian). Your last screeshot shows the same english category name and slug in the italian and english category tables. They should look like this example:

                        category_name                              slug
Italian:            Olio Extra-Vergine di Oliva              olio-extra-vergine-di-oliva
English:           Extra-Virgin Olive Oil                       extra-virgin-olive-oil
German:          Natives Olivenoel Extra                  natives-olivenoel-extra

Translate all italian categories like in the above example. A slug should always be unique (no duplicates!)
Then complete the category menus in all three languages. Normally on a multilingual site you need one Joomla menu module for each language and then fill each of the language-specific menus with 'Virtuemart > Category Layout' as the selected menu item type and choose the VM category in the 'Required Settings' for each menu item. The Joomla language switcher needs this to work correctly.
Maybe have a look at the Joomla Multilanguage tutorial linked at top of this short VM tutorial: http://docs.virtuemart.net/tutorials/36-multilingual-store/99-multilanguage-setup.html

After all the above is correct you should be able to add and translate your products.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

tobitobi64

maybe I did not understand, sorry, use google translate to translate for you.

I made a video for doing a good understanding of what the problem is, I have worked with many other sales sites but I had to go over in my steps to check everything and I also used that same guide to be sure, and I think that the problem is a ' another, and depart at the source, I think it is a configuration problem

the problem lies in the manual duplication of the class, but automatic

I want to make it clear in the video that I write "Olive Oil-en" I'm already doing the English version of "Extra Virgin Olive Oil" then what happens is that the database is duplicated automatically in both IT EN as you explained you before

you can see the video here http://youtu.be/lbtEa_SEWq4

jjk

I think you still misunderstand how the translation works. Why do you enter 'Olive Oil-en' into the italian category?
If you want to create a new category, starting with Italian, the steps are:

1. Enter the italian category name: Olio Extra-Vergine di Oliva (or Olive Oil-it) and click on on 'Save'. The Sef Alias (slug) will be created automatically, but you can overwrite it if you wish.

2. Select English from the dropdown. A popup appears saying 'No (en-gb) traduzione in Categoria, si prega di compilare i campi contrassegnati con i Flags'. Click 'ok'. Now the language dropdown shows the English flags and your italian category name, slug and description is automatically copied into the fields showing English flags.

3. Now overwrite at least the category name and Sef Alias (Slug), so that the fields with the English flags show: 'Extra-Virgin Olive Oil' (or Olive Oil-en) and 'extra-virgin-olive-oil' click on 'Save' again. You may also delete the italian Sef Alias instead of overwriting it and VM will re-create it from the english Category name when you clik on 'Save'.

4. After you click 'Save' in English, VM will automatically return to Italian. So if you want to check if the English Category name and SEF Alias was saved correctly, you have to select English again from the Dropdown menu.

5. Before you enter more, check in your database table if the italian and english category names and Sef Alias (Slug) were stored in the correct language tables. If everything looks correct, publish the category.

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