RotherOSS / otobo

OTOBO is one of the most flexible web-based ticketing systems used for Customer Service, Help Desk, IT Service Management. https://otobo.io/
GNU General Public License v3.0
263 stars 75 forks source link

Out of Office text (and date) not translated to different languages #1340

Open StefanAbel-OTOBO opened 3 years ago

StefanAbel-OTOBO commented 3 years ago

When activating the out of office time, it is not translated to e.g. German in the Owner fields.

Set up out of office time: image

Displayed in Owner field (e.g. in Action=AgentTicketPhone) in German language, but with English text and date format: image

This also is the case for different languages, like French: image

Tested in OTOBO 10.0.13 (ov48)

reneeb commented 2 years ago

This is done in Kernel::System::User::UserList() (https://github.com/RotherOSS/otobo/blob/163c96b00a62d38e5509d3e595c69e256537a51d/Kernel/System/User.pm#L1177). Usually translations are done in the frontend part, not in the backend. So there is no perfect solution (yet).

svenoe commented 2 years ago

In other places where this occurs, the frontend part (e.g. Kernel/Modules/AgentTicketPhone.pm) would pass its LayoutObject to the backend part. It could be handled this way, at least...