Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
27 Nov 2026

Pull Request for Issue # .

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

This change was created with the help of AI (Claude Code).

Summary of Changes

The component install script loads the component language with load('com_weblinks', JPATH_ADMINISTRATOR, 'en-GB', false, true) in install(), update() and uninstall(). This forces English, so the messages "COM_WEBLINKS_SUCCESS_INSTALL/UPDATE/UNINSTALL" are always shown in English, although translations exist.

The language is now loaded for the active language (load('com_weblinks', JPATH_ADMINISTRATOR)), which falls back to the default language if no translation is available.

Testing Instructions

Install the German language pack, switch the backend to German and install/update/uninstall the weblinks package.

Expected result

The success messages of the component are shown in German.

Actual result

The success messages are shown in English.

Documentation Changes Required

None

avatar Hackwar Hackwar - open - 27 Nov 2026

Add a Comment

Login with GitHub to post a comment