DragonPrime - LoGD Resource Community
Welcome Guest
  • Good evening, Guest.
    Please log in, or register.
  • May 20, 2013, 08:04:25 PM
Home Forums News Links Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
IRC Channels
Search

Pages: 1 ... 31 32 [33]   Go Down
  Print  
Author Topic: Translation Wizard  (Read 62742 times)
0 Members and 1 Guest are viewing this topic.
kickme
Global Moderator
Mod God
*****
Offline Offline

Posts: 1588


Yay for elephants!


View Profile WWW
« Reply #480 on: March 06, 2008, 11:21:25 PM »

Module scanning doesn't find translate_mail() calls.
Logged

Waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka
Nightborn
Guest
« Reply #481 on: March 07, 2008, 02:17:18 AM »

On purpose.

Because I have no clue in what language the translate_mail goes. it depends on their acctid.

Logged
Inach
Guest
« Reply #482 on: June 09, 2008, 02:42:51 PM »

Translation Wizard does not work with 1.1.1. Causes a badnav at newday.
Logged
seekey
Codemeister
****
Offline Offline

Posts: 475


Demon to some but Angel to others


View Profile WWW
« Reply #483 on: June 09, 2008, 04:17:24 PM »

Do you got an error message?

The Translation Wizard works fine on 1.1.1 on my server and I know that several other 1.1.1 servers are using the TW.

Have you changed anything and are you using the last version of the wizard, that is available here on dp?
Logged
Inach
Guest
« Reply #484 on: June 09, 2008, 07:26:14 PM »

I downloaded the translation wizard pack from the download section of this forum. Uploaded all it's components and no it does not work for me. I get a badnav at newday when travelling to the city, and even if I change my schema I cannot move forward from there and pull texts because it says there are no untranslated texts in the database.
Logged
Draco Straybyrn
Militia
**
Offline Offline

Posts: 45


View Profile
« Reply #485 on: March 18, 2009, 03:15:34 PM »

Code:
PHP Notice: "Constant OVERRIDE_FORCED_NAV already defined"
in /home/mantle2/public_html/rpg/modules/translationwizard.php at 5.

Code:
PHP Notice: "Use of undefined constant page - assumed 'page'"
in /home/mantle2/public_html/rpg/modules/translationwizard.php at 94.

Is that bad?
Logged
Afkamm
Mod God
*****
Offline Offline

Posts: 1563

MarcTheSlayer


View Profile WWW
« Reply #486 on: March 18, 2009, 03:42:34 PM »

Find and Delete: (line 5)
Code:
define("OVERRIDE_FORCED_NAV",true);

Find: (line 94)
Code:
$page = get_module_setting(page);

Replace with:
Code:
$page = get_module_setting('page');
Logged

White Knight
Mod God
*****
Offline Offline

Posts: 1030

For the truth!


View Profile
« Reply #487 on: March 18, 2009, 11:52:53 PM »

Code:
PHP Notice: "Constant OVERRIDE_FORCED_NAV already defined"
in /home/mantle2/public_html/rpg/modules/translationwizard.php at 5.

Code:
PHP Notice: "Use of undefined constant page - assumed 'page'"
in /home/mantle2/public_html/rpg/modules/translationwizard.php at 94.

Is that bad?

Are you using the latest version of the module?
Logged

Helping you help yourself.
Draco Straybyrn
Militia
**
Offline Offline

Posts: 45


View Profile
« Reply #488 on: March 19, 2009, 04:59:17 PM »

Code:
PHP Notice: "Constant OVERRIDE_FORCED_NAV already defined"
in /home/mantle2/public_html/rpg/modules/translationwizard.php at 5.

Code:
PHP Notice: "Use of undefined constant page - assumed 'page'"
in /home/mantle2/public_html/rpg/modules/translationwizard.php at 94.

Is that bad?

Are you using the latest version of the module?

I think so...

HOWEVER, the one I downloaded from the downloads section was last edited in 2007.

Either that needs updating or there's a link I can't find. The OP link is broken.
« Last Edit: March 19, 2009, 05:04:54 PM by Draco Straybyrn » Logged
White Knight
Mod God
*****
Offline Offline

Posts: 1030

For the truth!


View Profile
« Reply #489 on: March 19, 2009, 07:09:13 PM »

How very strange. I was certain that he'd uploaded v1.45 here; it contained the patches that I gave him earlier in the thread which enabled the wizard to see text inside single quotes. Maybe he didn't (or maybe it just linkrotted). Anyway, the latest version is available on his own download site.
Logged

Helping you help yourself.
Elessa
Faerie
Mod God
*****
Offline Offline

Posts: 3592


short, sweet and to the point


View Profile WWW
« Reply #490 on: May 07, 2009, 06:56:58 PM »

version 1.46 is available in the DP file sharing area.  per NB it is his most recent version.

there is a versions.txt file included which indicates all the changes.

Logged

Uuma ma ten rashwe, ta tuluva a lle

Play the latest beta version here on LoGD DragonPrime - Axebridge
joshua72
Member

Offline Offline

Posts: 1


View Profile
« Reply #491 on: January 10, 2010, 05:38:07 PM »

Non capisco come funzioni, ho tradotto tutto ma adesso come faccio a rendere effettive le traduzioni?
Logged
Sook
Member
Militia
**
Offline Offline

Posts: 21


Please remember not about me...


View Profile
« Reply #492 on: January 10, 2011, 04:35:52 PM »

I've found the problem of strings that I want to translate differently in different parts of the game, one example is the text "Leave" that appears many times.
So, to better use the already known translations function, I've changed the file translationwizard\known.php to show me also the tlschema of each row (and decide which translation to use, or even if I want to use none of them). The tlschema is shown right under the known text.

These are the modifies lines:

-line 120 from
Code:
$sql="Select ".db_prefix("untranslated").".intext, ".db_prefix("temp_translations").".language as t, ".db_prefix("untranslated").".language as u, ".db_prefix("temp_translations").".tid, ".db_prefix("temp_translations").".outtext,".db_prefix("temp_translations").".author,".db_prefix("untranslated").".namespace,".db_prefix("temp_translations").".version  from ".db_prefix("temp_translations").",".db_prefix("untranslated")." where ".db_prefix("temp_translations").".intext=".db_prefix("untranslated").".intext AND ".db_prefix("temp_translations").".language=".db_prefix("untranslated").".language ORDER BY ".db_prefix("untranslated").".intext";
to
Code:
$sql="Select ".db_prefix("untranslated").".intext, ".db_prefix("temp_translations").".language as t, ".db_prefix("untranslated").".language as u, ".db_prefix("temp_translations").".tid, ".db_prefix("temp_translations").".uri, ".db_prefix("temp_translations").".outtext,".db_prefix("temp_translations").".author,".db_prefix("untranslated").".namespace,".db_prefix("temp_translations").".version  from ".db_prefix("temp_translations").",".db_prefix("untranslated")." where ".db_prefix("temp_translations").".intext=".db_prefix("untranslated").".intext AND ".db_prefix("temp_translations").".language=".db_prefix("untranslated").".language ORDER BY ".db_prefix("untranslated").".intext";

-line 126 from
Code:
$sql="Select ".db_prefix("untranslated").".intext, ".db_prefix("translations").".language as t, ".db_prefix("untranslated").".language as u, ".db_prefix("translations").".tid,".db_prefix("translations").".outtext,".db_prefix("translations").".author,".db_prefix("untranslated").".namespace  from ".db_prefix("translations").",".db_prefix("untranslated")." where ".db_prefix("translations").".intext=".db_prefix("untranslated").".intext AND ".db_prefix("translations").".language=".db_prefix("untranslated").".language ORDER BY ".db_prefix("untranslated").".intext";
to
Code:
$sql="Select ".db_prefix("untranslated").".intext, ".db_prefix("translations").".language as t, ".db_prefix("untranslated").".language as u, ".db_prefix("translations").".tid, ".db_prefix("translations").".uri, ".db_prefix("translations").".outtext,".db_prefix("translations").".author,".db_prefix("untranslated").".namespace  from ".db_prefix("translations").",".db_prefix("untranslated")." where ".db_prefix("translations").".intext=".db_prefix("untranslated").".intext AND ".db_prefix("translations").".language=".db_prefix("untranslated").".language ORDER BY ".db_prefix("untranslated").".intext";

-insert after line 254:
Code:
rawoutput("<br><br>(".htmlentities($row['uri'].")",ENT_COMPAT,$coding))

The modification is already tested and working (I'm already using it in my local installation); if somebody is to release a new version of this module, please have a look at this.  Wink
Logged
Pages: 1 ... 31 32 [33]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Version 1.1.2 is the current supported version and is available for download.

Support Us
$100 raised this year
Your help is greatly appreciated!
Who's Online
19 Guests, 0 Users
DragonPrime LoGD
Recent Topics
Home Forums News Links Downloads Login Register Advanced Search