Jump to content
×
×
  • Create New...
  • 0

locale_string


enzi

Question

  • Moon

Hi.. I tried today add something from pet system to locale_string but i have big problem :/

I change in cmd_general.cpp this:

ch->ChatPacket(CHAT_TYPE_INFO, "You can't evolve your pet.");

to

ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can't evolve your pet."));

I add lines to locale_string.txt:

"You can't evolve your pet.";
"Test Message.";

but in chat is still

You can't evolve your pet.

I found some error in sysser:

SYSERR: May  9 04:18:56 :: locale_find: LOCALE_ERROR: "You can't evolve your pet.";

 

Someone know how to fix it to show right message in chat? Ty :) 

Link to comment
Share on other sites

  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

5 answers to this question

Recommended Posts

  • 0
hace 5 minutos, enzi dijo:

Hi.. I tried today add something from pet system to locale_string but i have big problem :/

I change in cmd_general.cpp this:

ch->ChatPacket(CHAT_TYPE_INFO, "You can't evolve your pet.");

to

ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can't evolve your pet."));

I add lines to locale_string.txt:

"You can't evolve your pet.";
"Test Message.";

but in chat is still

You can't evolve your pet.

I found some error in sysser:

SYSERR: May  9 04:18:56 :: locale_find: LOCALE_ERROR: "You can't evolve your pet.";

 

Someone know how to fix it to show right message in chat? Ty :) 

try without simbols like ' in the first line

Link to comment
Share on other sites

  • 0

Hi, I know it says solved but trust me it's not. I struggled all night with this and I still didn't fix it. The fact that you place it on a higher line fixes this line but breaks another. Some of the last strings are not working just like @enzi said on the first post. Is there a fix for this? Btw, all my translations have the [SPACE] before the quote close.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.


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.