When programming a component for an API, the config contains the following language file definitions:
<api>
<files folder="api">
<folder>src</folder>
</files>
<languages folder="api">
<language tag="en-GB">language/en-GB/com_mycomponent.ini</language>
<language tag="en-GB">language/en-GB/com_mycomponent.sys.ini</language>
</languages>
</api>
The component installs without errors, but the language files in the folder /api/language/en-GB/* of the component aren't copied to the folder /api/language/en-GB/ as described here https://www.dionysopoulos.me/book/com-lang.html.
When I copy the language files manually, they are interpreted correctly. Languages other than en-GB do not seem to work.
What am I missing?