Danish translation of Tickets module

Post modules, themes or any other code you want to share with the community.

Moderator: Developers

rantzauer
Posts: 25
Joined: Tue Mar 04, 2014 12:53 pm

Danish translation of Tickets module

Postby rantzauer » Fri May 23, 2014 12:32 pm

Hi

I Should have translated the tickets module, but then I place them in /modules/ticket/languages/ it does not load the page correctly afterwards.

Have I missed something or done something wrong?

Here are the files, they are not completly tested, because I have not been able to get it working myself. Maybe someone can tell what is wrong with them, and then they work I will control them for further errors, so you can implement it in Group-Office for others to use.

da.js
(4.52 KiB) Downloaded 124 times


da.php
(12.55 KiB) Downloaded 120 times


da.inc.php
(6.35 KiB) Downloaded 120 times


/Rantzauer
rosetta
Group-Office Expert
Group-Office Expert
Posts: 546
Joined: Tue Jul 14, 2009 2:25 pm
Location: Norway
Contact:

Re: Danish translation of Tickets module

Postby rosetta » Fri May 23, 2014 1:24 pm

God eftermiddag, rantzauer,

You should only translate the file:

modules/tickets/language/da.php

After upload you should empty the GO cache, which you can do with:

http://www.mygroupoffice.com/groupoffice/index.php?r=maintenance/upgrade

Also, you could use this tool to download a complete Danish language pack, for easy translation:

http://www.mygroupoffice.com/groupoffice/?r=maintenance/checkLanguage&lang1=en&lang2=da

(Edit the URLs above to match your server, of cource).
rosetta
Group-Office Expert
Group-Office Expert
Posts: 546
Joined: Tue Jul 14, 2009 2:25 pm
Location: Norway
Contact:

Re: Danish translation of Tickets module

Postby rosetta » Fri May 23, 2014 1:36 pm

Also you should make sure your file is encoded in UTF-8 without BOM. I see that the file you posted is ANSI encoded.

On Windows I use Notepad++ to do the Norwegian translation.
rantzauer
Posts: 25
Joined: Tue Mar 04, 2014 12:53 pm

Re: Danish translation of Tickets module

Postby rantzauer » Mon May 26, 2014 5:23 am

Hi Rosetta

Thanks for the help. I will try to fix it with your suggestions.

/rantzauer
rantzauer
Posts: 25
Joined: Tue Mar 04, 2014 12:53 pm

Re: Danish translation of Tickets module

Postby rantzauer » Tue May 27, 2014 6:55 am

Hi

I still have some problems with this translation file.

I have now saved a da.php file in UTF-8 without BOM. And the I place this in /usr/share/groupoffice/modules/tickets/language Group-Office stops working. I have run groupoffice/index.php?r=maintenance/upgrade but this does not help.

We use these characters in denmark æøå, is this the problem?

/Rantzauer
rosetta
Group-Office Expert
Group-Office Expert
Posts: 546
Joined: Tue Jul 14, 2009 2:25 pm
Location: Norway
Contact:

Re: Danish translation of Tickets module

Postby rosetta » Tue May 27, 2014 10:11 am

Can you post the new translation file here, so I can test it?
rantzauer
Posts: 25
Joined: Tue Mar 04, 2014 12:53 pm

Re: Danish translation of Tickets module

Postby rantzauer » Tue May 27, 2014 10:14 am

Hi rosetta

Sure :-)

Here we go:

da.php
(12.65 KiB) Downloaded 123 times


Thanks
/Rantzauer

Return to “Contributed development”

Who is online

Users browsing this forum: No registered users and 2 guests

cron