Translation issue for ticket types

Moderator: crythias

Locked
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Translation issue for ticket types

Post by Gunjan »

Hi,

I have added translation for ticket types in de_Custom.pm file but the changes are not reflecting in the values of ticket type. Please Help me!

Thanks & Regards,
Gunjan
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Translation issue for ticket types

Post by reneeb »

Please do not open several threads for the same topic... This is the original one: viewtopic.php?f=62&t=23451
Sorry, I misread the title. I thought it's still the same issue.

Ticket types cannot be translated... So that would need some development (e.g. https://github.com/OTRS/otrs/blob/rel-3 ... m.dtl#L104

Code: Select all

<p class="Value" title="$QData{"Type"}">$QData{"Type"}</p>
to

Code: Select all

<p class="Value" title="$QData{"Type"}">$Text{"$Data{"Type"}"}</p>
)
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Re: Translation issue for ticket types

Post by Gunjan »

It means if I create a new ticket, ticket types will not be translated there?
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Translation issue for ticket types

Post by reneeb »

Yes, see https://github.com/OTRS/otrs/blob/rel-3 ... e.pm#L2188 -> translation is turned off...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Re: Translation issue for ticket types

Post by Gunjan »

and if I change this Translation to 1 in the .pm file then what will happen?
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Translation issue for ticket types

Post by reneeb »

Yes, for that case. But in other cases (like AgentTicketZoom) - no.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Re: Translation issue for ticket types

Post by Gunjan »

Hi,

When I made changes earlier in AgentTicketPhone.pm, it worked for me at the time of creating new ticket. I mean, I was able to see the translation of ticket types! but now after installing some add ons, I am not able to see the translation of ticket types at the time of creation. Translation is visible in AgentticketZoom window, but not at the time of creating new ticket! It would be helpful if you can tell me the reason. Thanks in advance!

regards,
Gunjan
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Translation issue for ticket types

Post by reneeb »

The reason is that a new AgentTicketPhone was installed by an add-on. So you have to change it again (and create a package yourself)...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Locked