1
anderssk
wsProject
  • 2006/4/14 20:23

  • anderssk

  • Quite a regular

  • Posts: 335

  • Since: 2006/3/21


HiĀ“

I have tryed to translate wsProject to danish.
All files is in the right folder, but not every thing is translated on my site.
The cache is emty and there are no errors in php debug mode.

If I replace the shared.php file in the 'english' folder the danish one, it works..

Why wont wsProject use my shared.php from the folder 'danish' instead for the one from 'english'

In the core.php these lines appear - and it is in fact these lines that not are translated.

Anyone tryed to translate wsProject with success?



/**
* @desc Setzt die lokalisierten Strings
*/
function setLanguageData () {
$this->__lang['userdetails'] = _WS_USERDETAILSFOR;
$this->__lang['username'] = _WS_USERNAME;
$this->__lang['rank'] = _WS_RANK;
$this->__lang['projects'] = _WS_PROJECTS;
$this->__lang['project'] = _WS_PROJECT;
$this->__lang['opentasks'] = _WS_OPENTASKS;
$this->__lang['addtask'] = _WS_ADDTASK;
$this->__lang['edit'] = _WS_EDIT;
$this->__lang['delete'] = _WS_DELETE;
$this->__lang['hours'] = _WS_HOURS;
$this->__lang['note'] = _WS_NOTE;
$this->__lang['title'] = _WS_TITLE;
$this->__lang['description'] = _WS_DESCRIPTION;
$this->__lang['action'] = _WS_ACTION;
$this->__lang['status'] = _WS_STATUS;
}
}

2
anderssk
Re: wsProject
  • 2007/8/31 6:04

  • anderssk

  • Quite a regular

  • Posts: 335

  • Since: 2006/3/21


A danish user found the solution, and I belive that it is not a danish problem, but a problem i all language.

In the file language/xxxxxx/main.php

Line 5 is
include_once(XOOPS_ROOT_PATH."/modules/wsproject/language/english/shared.php");


The line has to be changed to
(XOOPS_ROOT_PATH."/modules/wsproject/language/".$xoopsConfig['language']."/shared.php");

Login

Who's Online

301 user(s) are online (220 user(s) are browsing Support Forums)


Members: 0


Guests: 301


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits