znuny / Znuny

Znuny/Znuny LTS is a fork of the ((OTRS)) Community Edition, one of the most flexible web-based ticketing systems used for Customer Service, Help Desk, IT Service Management.
https://www.znuny.org
GNU General Public License v3.0
332 stars 82 forks source link

Bug - states are not Translated in created Report #570

Open ServiceMember opened 2 weeks ago

ServiceMember commented 2 weeks ago

Environment

Expected behavior

We have different Ticket States that are translated in xx_custom.pm files into different languages. If I create a report including the state of a ticket, it should be translated according to my current language if a translation exists.

Actual behavior

The Exported File contains the State of a Ticket as shown in the Admin Menu and not as translated to English as described in ~/Kernel/Language/en_GB_custom.pm

How to reproduce

  1. create a non default State in the Admin Panel.
  2. Translate it into a different Language via ~/Kernel/Language/xx_custom.pm
  3. Change your Znuny language accordingly
  4. create a Dynamic List Statistic
  5. Add State to the Statistic in X Axis
  6. Run Statistic
  7. Open Statistic and see the error

Additional information

Screenshots

States in Admin Panel image

State Translation: image

States are Correctly Translated image

States are not Translated in created Report File image