News:

Support the VirtueMart project and become a member

Main Menu

looking for language string

Started by Alemantico, August 21, 2017, 08:00:16 AM

Previous topic - Next topic

Alemantico

Dear User,
I'm building an onlineshop in 3 languages. Since I followed the instructions on https://docs.virtuemart.net/tutorials/multilingual-store/99-multilanguage-setup.html and already installed all other language packs, I wonder if anyone could help me out by telling me, where on earth I can find the language strings for "out of stock", "Describtion" and "Reviews" (Screenshot)? You'd also take a look on my site https://dinnerdog.at/index.php/es/tienda/comida-humada/carne-de-res-con-zanahorias-detail.html. Any help would be very much appreciated!

Thank you very much in Advance!

jenkinhill

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

Alemantico

thank you a lot for yout time! I'll give that a try. Even I've already had these strings properly translated inside the resp. language files.

Alemantico

Ok, I tried your suggestions; Checking the lang-file, I've found the sting COM_VIRTUEMART_CART_PRODUCT_OUT_OF_STOCK="", responsible for "out of Stock"-Text inside of the: de-DE.com_virtuemart.ini. As this string was already defined with text, I still tried de Overwrite method inside of joomla! But at the end, it wasn't without any effect. So, why's that? Is there anywhere another language file hidden, which I've to overwrite? Would be awesome, if someone out there really knows, what or/and why I'm not able to change these strings.

Best regards!

jjk

If you want to create an override for the german language keys/strings you have to use these:
your-joomla-root-folder\language\de-DE\de-DE.com_virtuemart.ini, line 398, COM_VIRTUEMART_REVIEWS="Kundenrezensionen"
your-joomla-root-folder\administrator\language\de-DE\de-DE.com_virtuemart.ini, line 843, COM_VIRTUEMART_PRODUCT_DESC_TITLE="Beschreibung"

If you downloaded and installed the german language files for VirtueMart from http://virtuemart.net/community/translations, the german language strings should show up on the product details pages.

For translating the availability text, see there. This method still works with VirtueMart 3.2.4:
https://forum.virtuemart.net/index.php?topic=130856.msg450973#msg450973
In your case you could enter for example COM_VIRTUEMART_AVAILABLILITY_TEXT_SOLDOUT in the language constant field when you create an override.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Alemantico

Thank you, jik for taking a look on it! Bue indeed, I already downloaded an installed the german - language package, as well as the spanish language packes (its going to be a trillingue-shop). Everything has being translated pretty well, but just not the "out of stock", "description", and "reviews". I've already checked the language files, but they seemed alright. So maybe these strings come from somewhere else? In your suggestion; Dou you mean, I should add the entire path into? I just tried that, but as soon, as I hit the save-button, it changes to: "ADMINISTRATORLANGUAGEDE-DEDE-DE.COM_VIRTUEMART.INILINECOM_VIRTUEMART_CART_PRODUCT_OUT_OF_STOCKPRODUKTDERZEITNICHTAUFLAGER"
This is getting very confusing for me now  :-[ !

Jörgen

Hello

I see You have a custom template. Have You tried the protostar template? Maybe the text string is hard coded in Your template ?

regards

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

Studio 42

Hi Alemantico,
Your language strings are not from Joomla. Eg PRODUKTDERZEITNICHTAUFLAGER
YOu should try to add a language override in Joomla
See YOURJOOMLASITE.COM/administrator/index.php?option=com_languages&view=overrides
And add all missing key for each language

florihana

Hi,

Have you try to find in composant/ fa_Lang/ translation?
If this string is from module / plugin/ or some article then you could find those string to translated ; see picture: