Skip to content

Conversation

@aegan123
Copy link
Member

@aegan123 aegan123 commented Apr 21, 2025

All user facing text now uses builtin internationalization support. In addition all dates and times are formatted based on user's locale.

Replaced inline text with message keys to enable localization across templates. This improves maintainability and supports multi-language functionality for all user-facing text.
Introduced locale-based formatting for dates and times across entities, DTOs, and views to enhance internationalization support. Replaced hardcoded formatting logic with reusable methods using `LocaleContextHolder` and `MessageSource`. Updated templates and services to leverage the new localized formatting.
Replaced the static "fi" language attribute with a dynamic Thymeleaf expression (`th:lang="${#locale.language}"`) across all HTML templates. This ensures that the language adapts based on the user's locale during runtime.
@aegan123 aegan123 merged commit f62aaea into develop Apr 21, 2025
1 check passed
@aegan123 aegan123 deleted the finalize-language-support branch April 21, 2025 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants