Skip to main content
Notice removed Draw attention by CommunityBot
Bounty Ended with Zollie's answer chosen by CommunityBot
Notice added Draw attention by Sandro Antonucci
Bounty Started worth 50 reputation by Sandro Antonucci
added tags
Source Link
mickmackusa
  • 4.8k
  • 4
  • 18
  • 48

inIn Joomla 3.9.20, I created a custom front end template. Inside I have the language folder with various languages in this format. 

For German (example):

/templates/mytemplate/de-DE/de-DE.tpl_mytemplate.ini

They all work, however for English the strings are not read

/templates/mytemplate/en-GB/en-GB.tpl_mytemplate.ini

I have to put my customscustom strings inside the language site root folder to make it work. My default language is it-IT.

Is this a bug?

To make things weirder, while using only the language folder inside mytemplate, if I remove a string for another language it defaults back to my custom English strings! So basically it works indirectly when using another language with missing definitions but not directly when in English.

in Joomla 3.9.20 I created a custom front end template. Inside I have the language folder with various languages in this format. For German (example)

/templates/mytemplate/de-DE/de-DE.tpl_mytemplate.ini

They all work, however for English the strings are not read

/templates/mytemplate/en-GB/en-GB.tpl_mytemplate.ini

I have to put my customs strings inside the language site root folder to make it work. My default language is it-IT.

Is this a bug?

To make things weirder while using only the language folder inside mytemplate if I remove a string for another language it defaults back to my custom English strings! So basically it works indirectly when using another language with missing definitions but not directly when in English.

In Joomla 3.9.20, I created a custom front end template. Inside I have the language folder with various languages in this format. 

For German (example):

/templates/mytemplate/de-DE/de-DE.tpl_mytemplate.ini

They all work, however for English the strings are not read

/templates/mytemplate/en-GB/en-GB.tpl_mytemplate.ini

I have to put my custom strings inside the language site root folder to make it work. My default language is it-IT.

Is this a bug?

To make things weirder, while using only the language folder inside mytemplate, if I remove a string for another language it defaults back to my custom English strings! So basically it works indirectly when using another language with missing definitions but not directly when in English.

Post Migrated Here from stackoverflow.com (revisions)
Source Link

Joomla 3.9 not reading language override strings for English only

in Joomla 3.9.20 I created a custom front end template. Inside I have the language folder with various languages in this format. For German (example)

/templates/mytemplate/de-DE/de-DE.tpl_mytemplate.ini

They all work, however for English the strings are not read

/templates/mytemplate/en-GB/en-GB.tpl_mytemplate.ini

I have to put my customs strings inside the language site root folder to make it work. My default language is it-IT.

Is this a bug?

To make things weirder while using only the language folder inside mytemplate if I remove a string for another language it defaults back to my custom English strings! So basically it works indirectly when using another language with missing definitions but not directly when in English.