News:

Support the VirtueMart project and become a member

Main Menu

[SOLVED] Multilingual: Variants label are not translated

Started by m.davide82, January 13, 2020, 16:44:30 PM

Previous topic - Next topic

m.davide82

Hello,

I created multilingual constant for each name of the variant and I inserted the translation in the override are, but this name isn't translated.
Screen in attachment.

Why? A big?


Thanks.
Davide

Jörgen

What VM version, PHP version, Joomla version ?
Using custom template ?
In what view ?

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

m.davide82

Hi Jörgen,

Virtuemar 3.6.1
Php 7.2
Joomla 3.9.14
Product view
Template VP_Smart, but the problem persists with beez too.

Thanks a lot.
Davide

Studio 42

Have you entered the translation using joomla or directly in the override file ?
If you do a syntax error in the file, nothing is translated.

m.davide82

I created directly the file.
The other translations are working, only that ones of the custom fields not.

This is the syntax:
CAMPI_QUARTO_SPLIT="cuarto split"
CAMPI_TERZO_SPLIT="tercer split"
CAMPI_SECONDO_SPLIT="segundo split"


Thanks.
Davide

Studio 42

Try to use the Joomla extentions > language(s)> susbstitution to add the translation.
If should work here, if you selet the right language

m.davide82


Studio 42

Is this generic variant or multi-variant customfield type ?

m.davide82


jjk

If it's a generic 'string' type variant, did you set it to 'Published' in the custom field list?
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Ventsi Genchev

Did you add the translation to both files? Overwriting Administration and Frontend?
Audio Store:
https://vsystem.bg - Bulgarian language
https://vsystem.bg/en - English

m.davide82

@jjk
Yes, it's published.


@Ventsi Genchev
Sure, I did it, but no results.

Jörgen

 ??? You have this in the language file:
QuoteCAMPI_QUARTO_SPLIT="cuarto split"
CAMPI_TERZO_SPLIT="tercer split"
CAMPI_SECONDO_SPLIT="segundo split"

But you miss these translations:
QuoteCAMPI_COLORE_DEL_MOBILE
CAMPI_COLONNA_140x35x20
Or am I missing something ?

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

m.davide82

Hi Jörgen,

no no, the translation are present, it was just an example...


Thanks.
Davide

jjk

#14
Did you enable and checked the output of Joomla 'Debug Language' already? If there is a parsing error in your language override file, it can stop loading before it reaches the custom variant labels.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations