User tests: Successful: Unsuccessful:
Pull Request for Issue #41944 .
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>
Use example component:
com_mycomponent.zip
Add languages
node under API in any component then test install/uninstall
language file api\language\en-GB\com_mycomponent.ini
is not copied
language file api\language\en-GB\com_mycomponent.ini
is copied and deleted during uninstall
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
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
I have tested this item ? unsuccessfully on 4474c5f
Language file is copied before and after - Joomla 5.1.3 - localhost
@superd0ll how did you test this?
This pull request has been automatically rebased to 5.3-dev.
It was such a long time ago, I am sorry but I don't remember.. I need to check this out thoroughly. I will have time to do so after the 21st of November..
Labels |
Added:
Feature
PR-5.3-dev
|
Category | Libraries | ⇒ | Unit Tests Administration com_admin SQL Postgresql com_banners com_contact com_content com_installer com_joomlaupdate JavaScript com_media NPM Change com_newsfeeds com_plugins |
Labels |
Added:
Unit/System Tests
NPM Resource Changed
|
Category | Unit Tests Administration com_admin SQL Postgresql com_banners com_contact com_content com_installer com_joomlaupdate JavaScript com_media NPM Change com_newsfeeds com_plugins | ⇒ | Libraries |
Title |
|
Labels |
Removed:
Unit/System Tests
NPM Resource Changed
|
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.