A Translation Problem

theweepingman
05 Jul 2013, 03:08
So. I decided to create Quest game. Doing it in my language, since my intended audience is my fellow students, which unfortunately still struggling with English. After messing with QDK, I realize simply changing description and prefix/suffix isn't enough - it breaks immersion. Decided to translate it directly, but I can't get rid of 'a', especially in location, nor change it. Like, 'A Library'. I want it to be just 'Library', for example, and same with object - just 'chair' instead of 'a chair'. Anyway, here is the file:

Storyteller
05 Jul 2013, 03:18
Did you try un-checking the box for "Use Default Prefix and Suffix."

theweepingman
05 Jul 2013, 04:17
I want to use Default prefix and suffix, with translated library.

Storyteller
05 Jul 2013, 04:27
theweepingman wrote:I want to use Default prefix and suffix, with translated library.


Perhaps, if the prefixes and suffixes don't work in your language, collaborate with the moderators in order to give an accurate translation for the next update?

theweepingman
05 Jul 2013, 07:03
More like there is no universal prefix and suffix, though if forced I can work around that. I can't seem to get rid or change 'a', though.

Liam315
05 Jul 2013, 09:27
On the bottom left of the screen click on filter > show library elements.

Scroll down the object tree to the functions list where the first one should be "getdefaultprefix." I suspect this might be the cause of the rogue "a." You can copy the function into your game (the yellow bar at the top) and alter the script to set the return value to the desired default prefix.

theweepingman
06 Jul 2013, 12:10
Pardon, but... filter with what, exactly? I don't think it can be opened in Quest.

Carrot
06 Jul 2013, 14:17
In the bottom bar of the left-hand pane is the word filter with a down arrow next to it. Click on that and then place a check mark next to Show Library Elements

Type GetDefaultPrefix into the search box at the top of the left pane and click the magnifying glass.

Highlight GetDefaultPrefix by left clicking on it and you should see a pale yellow bar running across the top of the right pane. At the end of this bar is a button marked Copy - left click that to make a copy of GetDefaultPrefix in your own code (this will override the default library without deleting it).

Then examine the script and change what you need.

theweepingman
07 Jul 2013, 08:54
Find it! Thanks!
Almost forget, another problem is I've changed the compass name, but the game doesn't recognize the new name. Haven't really check for everything, though, - just thought I'll leave it here. Thanks again!

Pertex
07 Jul 2013, 16:31
But don't forget tocopy your changed function GetDefaultPrefix into your language library. Otherwise all other user using your language file will have the problem with the prefix