jedcunningham opened a new pull request, #54008: URL: https://github.com/apache/airflow/pull/54008
When Airflow is deployed under a subpath (e.g., http://localhost:8080/foo), i18n locale files were incorrectly requested from the root path instead of respecting the configured base_url path. This caused translation files to fail loading, resulting in untranslated UI text. The fix ensures i18n requests properly honor the base_url path by dynamically constructing the locale file paths based on the HTML base tag, similar to how API requests are handled. Fixes requests like: - Before: http://localhost:8080/static/i18n/locales/en/assets.json - After: http://localhost:8080/foo/static/i18n/locales/en/assets.json -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
