News:

Looking for documentation? Take a look on our wiki

Main Menu

already translated custom field names not working after update

Started by designinsi.de, April 03, 2013, 21:53:54 PM

Previous topic - Next topic

designinsi.de

As the title says I already had a running site. I made overrides for my color and size variables in each language but after the update to 2.0.20b only the variables are shown :o

Any Ideas?

Thanks!

jjk

Did you follow the small tutorial available here http://forum.virtuemart.net/index.php?topic=96758.0 to translate your custom field names?
Are your language override keys/strings still in the Joomla backend/frontend language override folders?
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

designinsi.de

As I wrote it worked before the update.

The vars are in the de-DE/en-EN.override.ini and I even tried it with a ini of virtuemart but nothing.

English:

RED="Red"
WHITE="White"
GREY="Grey"
BLACK="Black"

German:

RED="Rot"
WHITE="Weiss"
GREY="Grau"
BLACK="Schwarz"

jjk

Quote from: designinsi.de on April 04, 2013, 12:10:17 PM
The vars are in the de-DE/en-EN.override.ini

The english language override file has to be named en-GB.override.ini
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

designinsi.de

The file is named like that. I only wrote it wrong in the forum.

Another thing I noticed:

Some vars are translated some not.

The captions for Color and Size still work, the colors themselves not!

jjk

Did you check if your language key entries in the custom fields are still there? In case you have a live site, can you post a link so we can have a look at the frontend?
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Radghostz

I have the same problem in virtuemart 2.0.20b.
In my site under construction in English and Spanish. Use this guide: http://forum.virtuemart.net/index.php?topic=96758.0
  
Only the variables are translated as:
- Dimensions, (to "Sizes" in spanish)
- Colors (to "Colors" in spanish)
but variables such as white, brown, red, or small, medium, large ... NOT TRANSLATED.

As you solved this problem in the translation? Please help me

jjk

@Radghostz,
Did your existing translation also get lost after an update of VirtueMart or is it your first attempt which is not working yet?
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Radghostz

Thanks for responding.
In the first attempt. I have not updated.
Where can be the problem? : (

jjk

You need add your values into a frontend INI file (preferably into override language files) like described here:
http://docs.virtuemart.net/tutorials/33-templating-layouts/107-customization-of-displayed-text.html

For example:

COLOR_RED_VALUE="red"

and then enter into your custom field:

COLOR_RED_VALUE (instead of 'red')

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

lindapowers

Quote from: jjk on May 05, 2013, 22:57:14 PM
You need add your values into a frontend INI file (preferably into override language files) like described here:
http://docs.virtuemart.net/tutorials/33-templating-layouts/107-customization-of-displayed-text.html

For example:

COLOR_RED_VALUE="red"

and then enter into your custom field:

COLOR_RED_VALUE (instead of 'red')



So we can't use the language override function in joomla 2.5 instead of adding the values in to each ini file?

Sorry for asking I know the guy here posted that same issue, but we were about to do it that way.

I don't really like adding translation on ini files that get deleted with each update of VM.

Regards

jjk

Quote from: lindapowers on May 07, 2013, 23:13:03 PM
So we can't use the language override function in joomla 2.5 instead of adding the values in to each ini file?

The language overrides in Joomla a placed in ini files within the frontend and backend override folders. You can store the custom field keys/strings in these override ini files of course.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations