Author Topic: "Ask a question about this product" isn't translated  (Read 1448 times)

Rune Rasmussen

  • Jr. Member
  • **
  • Posts: 161
  • Is the stable release stable?
    • SYNTAX ERROR
  • VirtueMart Version: Latest ;)
"Ask a question about this product" isn't translated
« on: April 03, 2017, 23:13:13 pm »
Anyone else noticed this strange thing, that "Ask a question about this product" isn't translated in product details?



I've seen it two different sites, with different design, and also tested default.


If I add a override for COM_VIRTUEMART_PRODUCT_ENQUIRY_LBL it will be translated, but it's not loaded from the language file. But then, if I activate language debugging it's loaded from the language file, and no error reported ...


Oh btw, if I add COM_VIRTUEMART_PRODUCT_ENQUIRY_LBL to the language file in admin, it also works.


There is a Gremlin in the system! ;)
Rune Rasmussen - http://www.syntaxerror.no
Norske nettløsninger og integrasjoner, CONSIGNOR EDI, Mamut ordreimport og produkteksport, kortbetaling og faktura m.m.

Norsk Joomla! - Norwegian Translation Team - http://www.norskjoomla.no

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3487
  • using Matomo instead of Google Analytics
Re: "Ask a question about this product" isn't translated
« Reply #1 on: April 05, 2017, 15:42:43 pm »
Quote
Anyone else noticed this strange thing, that "Ask a question about this product" isn't translated in product details?
If you mean that you see the language key when the English site language is being used, it might be because it is an old updated shop, where the VM English language files are still present in the Joomla administration language folder. They are being loaded (should be loaded) from the ...administrator\components\com_virtuemart\language\en-GB folder since long time ago.

The translations into other languages are still being loaded from the Joomla administration/language folder, because ctransifex doesn't have the capability to generate language packs for installation into the component language folders.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Rune Rasmussen

  • Jr. Member
  • **
  • Posts: 161
  • Is the stable release stable?
    • SYNTAX ERROR
  • VirtueMart Version: Latest ;)
Re: "Ask a question about this product" isn't translated
« Reply #2 on: April 05, 2017, 15:54:28 pm »
No, I see "Ask a question about this product" - it's not translated.

But yes, it truly is because "/administrator/language/en-GB/en-GB.com_virtuemart.ini" (BE) still exists, and weirdly enough overrides "/language/nb-NO/nb-NO.com_virtuemart.ini" (FE)

I would say that looks a loot like a bug. Still, best would be to ensure those English files are being deleted on update, or at least notify the users about the need to delete them.
Rune Rasmussen - http://www.syntaxerror.no
Norske nettløsninger og integrasjoner, CONSIGNOR EDI, Mamut ordreimport og produkteksport, kortbetaling og faktura m.m.

Norsk Joomla! - Norwegian Translation Team - http://www.norskjoomla.no