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

locale string system


numNum

Question

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 Metin2 Dev
Core X - External 2 Internal
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
  • Nitro Booster

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
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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

  • 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.