So, I am in the process of adding a second content language to my joomla site and I'm running into an issue. I have successfully added my second language (German) and have rebuilt my site with the second language content and have happily implemented the language switcher. The issue I have is that not all the strings that should have translations are translated.
In the image, you will notice that the form components and text are correctly translated, but the strings for "Address," "Phones," and "Miscellaneous Information" are not translated.
The site is updated to Joomla 3.6, and I am using the core contact component.
I have checked the German Language pack, and I can confirm that correct translations exist for each string I want translated, but these translations are inconsistently applied on the Contact Page.
I cannot apply Language Overrides for these strings, because the translations already exist, and if I were to target the English language strings the translations for the whole site would be in correct.
I am using Theme 1498 by Template Monster, and there is only a single language (English GB) pack in the template language folder.
I have identified that I want to change the string values for TPL_CONTACT_ADDRESS
, TPL_CONTACT_PHONES
, and TPL_CONTACT_MISC
in the [template]/html/com_contact/contact/default_address.php
file.
These strings are all included in the language pack inside of the template. From a very helpful response to an earlier question of mine the strings must be overridden by the template because correct translations exist within the installed language pack.
So, my question is how either remove the hard-coded English strings so that normal translations work, or how to apply my own correct translations for those strings when the correct language is loaded. I have found one or two tutorials on how to do this, but they seem somewhat contradictory or applied to more specific use cases.