Proposal: Implement a mechanism to allow developers to define which configured languages should be included in the application build package (Mendix Studio Pro Run and Deployment).
The Problem: The current process builds all configured languages, leading to slow build times in complex apps, particularly in the Mendix React version. Developers cannot exclude languages from the build without losing their translation content permanently, even if those languages are not needed for testing or staging environments.
Proposed Mechanism: Before the application build (Run/Deploy), a configuration setting should allow the developer to select a subset of the existing languages to be enabled/included in the build package. Languages that are not selected will be excluded from the generated code but will remain intact within the Studio Pro project configuration for future use.
Expected Benefit:
Significant reduction in application build and local run time.
Optimized bundle size for deployment.
Developers can maintain all needed translations while achieving faster development cycles.
Selecting languages before build would speed up multi-language app deployment.
I completely agree! The number of languages really has a big impact on execution time. Allowing language selection before execution would be a great way to optimize the build by compiling only what’s necessary. It’s definitely an interesting idea to make the process more efficient.
We also face this issue!
Good idea, we need this as well.