Root deployment script fails for 2025.9

There exist deployment scripts for Tracking User Actions and Data Exports.

These scripts fail on an application instance which does not share the same Language primary keys.

It fails in the following deployment script:

The problem is that it references fixed lanuage Id but different instances might have their own primary keys. Therefore we normally make a dynamic select to the database based on IETF language code. It should also make sure that such a language even exists in that instance.

Like here:

The deployment scripts should be fixed so they do not depend on fixed primary keys.