Jump to content
  • 0

Searching a tool for quests


Kafa

Question

Hey community, im searching for a tool which replaces all the gameforge sentences or sentence that are the same into new gameforge format

 

for example:

 

local s = select("Yes ", "No ")

 

into:

 

local s = select(gameforge[get_language()][11792], "gameforge[get_language()][11793]")

 

 

gameforge["en"][11792] = "Yes "
gameforge["en"][11793] = "Cancel "

 

 

 

or this: 

 

local s = select(gameforge.locale.yes, gameforge.locale.no)

 

into this:

 

local s = select(gameforge[get_language()][11792], "gameforge[get_language()][11793]")

 

 

:) Would be very nice i need it badly..

Link to post

13 answers to this question

Recommended Posts

  • 0
14 minutes ago, WeedHex said:

Use notepad++ if you're a newbie.

 

You can use git shell, python script, Windows Shell and so on...

 

https://stackoverflow.com/questions/17140886/how-to-search-and-replace-text-in-a-file

 

You didnt understand me.. i cant just translate hundreds of quests thousands of lines by my self i need a comparison

a tool which is looking for the sentences in .quest files and then replacing it with translate.lua

Edited by Kafa
Link to post
  • 0
15 hours ago, Mali61 said:

 

Can i actually give some improvement? But its very good already and it helped me so much ❤️ 😍

 

first of all:

 

If you use the tool every  letter gets small, which will cause errors.

 

And it would be nice if you can do this for the tool too: (choose option)

 

Program finds: 

 

say( gameforge.locale.no)

 

changs it into: 

 

say(gameforge[1476])

 

I will attach my translate_lua in new formate (new format is with numbers) just in case, and my old translate.lua and a example quest.

 

You helped me a lot mali THANKS!!!!!!!!!!

 

https://www.dosyaupload.com/g3bo (My Examples & Translate.luas)

 

Edited by Kafa
Link to post
  • 0

 

2 minutes ago, Mali61 said:

 

I don't understand why?

 

setskin(nowindow)

setskin(NOWINDOW)

 

This was just a example, also it doesnt look good if all your sentences have small letters now. :( 

           

Link to post
  • 0
  • Honorable Member
33 minutes ago, Kafa said:

 

 

setskin(nowindow)

setskin(NOWINDOW)

 

This was just a example, also it doesnt look good if all your sentences have small letters now. :( 

           

I thought we were talking for this version. Because there will not be a new version.

  • Love 1

I'll be offline for a few months🌛

Link to post
  • 0
15 minutes ago, Mali61 said:

I thought we were talking for this version. Because there will not be a new version.

 

yes bro i talk about this version, i just said if you use that tool all letters get small doesnt matter which words. every letter gets small. 😕

  • Love 1
Link to post
  • 0
  • Honorable Member
2 hours ago, Kafa said:

 

yes bro i talk about this version, i just said if you use that tool all letters get small doesnt matter which words. every letter gets small. 😕

finally I got it🤦‍♂️ Updated

  • Love 1

I'll be offline for a few months🌛

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



Shoutbox

Shoutbox

Chatroom Rules

 

Join our Discord

A request for help = Shoutbox Ban

Be respectful & Respect the rules

 

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.