News:

Looking for documentation? Take a look on our wiki

Main Menu

String values are not translated on backend

Started by erhabe, September 05, 2017, 00:58:05 AM

Previous topic - Next topic

erhabe

Hello

I ve searched here about this and found nothing concludent.So....i setuped a few customfields list with some options and created string override for every language.On frontend they are translated but on backend they are not.Only the customfields titles are but no the values.Can anyone give me a clue about how to handle this issue?

Thank you

Jörgen

Probably a Joomla issue.

Have You translated the strings for the backend to in the language manager ?

regards

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

erhabe

No....i edited the override file.But i also tried with joomla manager to translate.Also are translated only the string titles not the values.

Jörgen

If you have edited the correct file then the values are not being handled with the correct code. Check the code for the view and see if the translation function is called. You can also override the views in backend and add this call if you like.

Maybe you should consider updating.

Regards

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

erhabe

I added the translation for the strings in /administrator/language/overrides/en-GB.override.ini and the strings titles are translated in backend on customfields.Only the strings values are not translated.I am editing the wrong file and should put the translation elswhere?

Jörgen

Joomla / Vm version ?

Regards

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

erhabe

Latest
VirtueMart 3.2.4
Joomla Platform 13.1.0 Stable [ Curiosity ]

jjk

If I understand your problem correctly, this old tutorial might help: https://docs.virtuemart.net/tutorials/multilingual-store/105-using-language-keys-in-form-fields.html
I wrote that long time ago for VM2, but the procedure is still valid.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

erhabe

Sorry its no helping.Thats what i did.

I have for example this field as a list

Field title - COM_VIRTUEMART_FIELDTITLE
And options  COM_VIRTUEMART_FIELDTITLE1;COM_VIRTUEMART_FIELDTITLE2.

That i overrided in administrator/language/overrides/en-GB.override.ini
COM_VIRTUEMART_FIELDTITLE="English translation"
COM_VIRTUEMART_FIELDTITLE1="English translation"
COM_VIRTUEMART_FIELDTITLE2="English translation"

COM_VIRTUEMART_FIELDTITLE  is translated
COM_VIRTUEMART_FIELDTITLE1 and COM_VIRTUEMART_FIELDTITLE2 are not translated.

jjk

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

erhabe

Yes this was a real solution.I recomand it to all who want to view customfields values translated on the backend.
Thank you for support i didnt find this post on the search sorry.