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

locale string system


numNum

Question

  • Premium

Hi guys, 

 

Does anyone have any idea of how to translate lines like this

 

spacer.png

 

or

 

spacer.png

 

 

using this system...

 

 

I created a function that send a packet to get the proper string from client, but it didn't work as I expected

 

any tips could be useful .. 

 

thx in advance..

Edited by jeddawee
Link to comment
Share on other sites

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0
  • Premium

In cases such as horse name postfix, you can do it directly in client source. 

 

In the following function, check if an instance is a horse and append the string to its name ('s Horse).

void CInstanceBase::__Create_SetName(const SCreateData& c_rkCreateData)

 

In other cases where you must use a locale string as an argument, you either add multilingual data to the server or create a separate packet just for this locale string. 

 

Edit: There are also other ways like passing "[STRING_221]" as a string argument and on the client side you fetch a locale string with ID 221. This can be also useful for item and monster names :)

Edited by Sonitex
Link to comment
Share on other sites

  • 0
  • Premium
4 hours ago, Sonitex said:

In cases such as horse name postfix, you can do it directly in client source. 

 

In the following function, check if an instance is a horse and append the string to its name ('s Horse).

void CInstanceBase::__Create_SetName(const SCreateData& c_rkCreateData)

 

In other cases where you must use a locale string as an argument, you either add multilingual data to the server or create a separate packet just for this locale string. 

 

Edit: There are also other ways like passing "[STRING_221]" as a string argument and on the client side you fetch a locale string with ID 221. This can be also useful for item and monster names :)

 

 

Thx man ❤️

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


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.