This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing an issue installing WPML in a Bedrock + Composer setup due to the inability to access the official WPML Composer repository at https://packages.wpml.org/packages.json. The error reported is 'curl error 6: Could not resolve host: packages.wpml.org', and DNS resolution for packages.wpml.org fails (NXDOMAIN).
Solution:
We currently do not support installation or updates of WPML via Composer natively. There is no official or supported method to automatically fetch the latest WPML versions via Composer. However, a suggested workaround is discussed in a forum thread, which can be found here: https://wpml.org/forums/topic/composer-update-to-latest-plugins-versions/. Additionally, you can refer to our errata entry here: https://wpml.org/errata/composer-installation-of-wpml-not-officially-supported-yet/. A third-party project that might help is available at https://github.com/ffraenz/private-composer-installer, where the version can be handled as a placeholder.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we recommend opening a new support ticket. We also highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. For further assistance, please contact us through the WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.