Pending

User tests: Successful: Unsuccessful:

avatar heelc29
heelc29
25 Mar 2024

Pull Request for Issue #41944 .

Summary of Changes

Adds ability to place language files under api/language during installation of a component

<?xml version="1.0" encoding="UTF-8"?>
<extension type="component" method="upgrade">
	[...]
	<api>
		<files folder="api">
			<folder>src</folder>
		</files>
		<languages folder="api">
			<language tag="en-GB">language/en-GB/com_example.ini</language>
		</languages>
	</api>
</extension>

Testing Instructions

Add languages node under API in any component then test install/uninstall

Actual result BEFORE applying this Pull Request

language file is not copied

Expected result AFTER applying this Pull Request

language file is copied and deleted during uninstall

Link to documentations

Please select:

  • Documentation link for docs.joomla.org: There is nothing special here https://docs.joomla.org/Manifest_files

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar heelc29 heelc29 - open - 25 Mar 2024
avatar heelc29 heelc29 - change - 25 Mar 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 25 Mar 2024
Category Libraries
avatar exlemor
exlemor - comment - 21 Apr 2024

Hi @heelc29, can you provide a test plugin/module/component that includes whatever you want us to test (I guess the language .ini file in place and code) so that we can test? (ready for testing so that we don't make mistakes in testing for you) It would make it a lot easier. Thanks.

avatar HLeithner
HLeithner - comment - 24 Apr 2024

@MacJoom I wouldn't merge this in to 4.4, but your choice

Add a Comment

Login with GitHub to post a comment