? Pending

User tests: Successful: Unsuccessful:

avatar bembelimen
bembelimen
16 Aug 2021

Summary of Changes

On multilingual sites the translations of language strings falls back to the default language (when not in debug mode). But if you have created some language overrides this behaviour does not apply.

Testing Instructions

  • Create a multlingual page
  • Install and activate at least one additional language to en-GB
  • Create a language override for a not existing constant like: TEST_CONSTANT="Test" for the english frontend language
  • open the index.php of your frontend template and put: echo Text::_('TEST_CONSTANT');
  • Switch to the 2nd language

Actual result BEFORE applying this Pull Request

TEST_CONSTANT is outputted.

Expected result AFTER applying this Pull Request

Test is outputted.

avatar bembelimen bembelimen - open - 16 Aug 2021
avatar bembelimen bembelimen - change - 16 Aug 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 16 Aug 2021
Category Unit Tests Repository Administration com_admin com_joomlaupdate com_tags com_users Language & Strings Modules NPM Change JavaScript Front End com_content
avatar bembelimen bembelimen - change - 16 Aug 2021
Labels Added: ? Language Change NPM Resource Changed ?
avatar joomla-cms-bot joomla-cms-bot - change - 16 Aug 2021
Category Unit Tests Repository Administration com_admin com_joomlaupdate com_tags com_users Language & Strings Modules NPM Change JavaScript Front End com_content Libraries
avatar RickR2H RickR2H - test_item - 17 Aug 2021 - Tested successfully
avatar RickR2H
RickR2H - comment - 17 Aug 2021

I have tested this item successfully on b432bc3

Works!


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35155.

avatar ricardo1709 ricardo1709 - test_item - 17 Aug 2021 - Tested successfully
avatar ricardo1709
ricardo1709 - comment - 17 Aug 2021

I have tested this item successfully on b432bc3


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35155.

avatar wilsonge wilsonge - change - 17 Aug 2021
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2021-08-17 23:37:07
Closed_By wilsonge
Labels Added: ?
Removed: ? Language Change NPM Resource Changed ?
avatar wilsonge wilsonge - close - 17 Aug 2021
avatar wilsonge
wilsonge - comment - 17 Aug 2021

I'm really sorry I closed down the 4.0.1 branch. Can you recreate this against 4.0-dev. If you tag I'll restore the good tests on the issue tracker.

avatar bembelimen
bembelimen - comment - 18 Aug 2021

Add a Comment

Login with GitHub to post a comment