Jump to content
You can now try the trial version of DIS2RBED for free ^_^ ×

lua插件怎么翻译成中文?


Caroline

Recommended Posts

1 час назад, Caroline сказал:

如题,lua插件怎么翻译成中文,DIS2RBED可以翻译成中文,lua插件无法翻译

1 - Contact Lua script developer and ask to add translation support
2 - Make a translation for lua in the main D2 translation file

Link to comment
Share on other sites

12 минут назад, Caroline сказал:

怎么在D2中为lua翻译呢?

1 - Open the translation file (%appdata%\DIS2RBED\Locales)
2 - Add the lines you need there
3 - Save the file and restart D2 (Settings > Service > Reinitialize D2UI)
 

*Also, do not forget about color prefixes, if any, otherwise the translation will not work

image.png

image.png

Link to comment
Share on other sites

12 分钟 前,Medved 发表:

1 - Open the translation file (%appdata%\DIS2RBED\Locales)
2 - Add the lines you need there
3 - Save the file and restart D2 (Settings > Service > Reinitialize D2UI)
 

*Also, do not forget about color prefixes, if any, otherwise the translation will not work

image.png

image.png

能帮忙把源文件发过来吗?我想翻译一下,我这里没有截图所发的那几个选项,文件夹里也没有英文源文件

Edited by Caroline
Link to comment
Share on other sites

2 минуты назад, Caroline сказал:

能帮忙把源文件发过来吗?我想翻译一下,我这里没有截图所发的那几个选项

lines from the screenshot are added manually, even if I send this file, you will only have three lines

Link to comment
Share on other sites

7 минут назад, Caroline сказал:

我还有个问题,请问颜色代码都有哪些呢?

This is just a small part, there are more

~ r ~ = Red
~ b ~ = Blue
~ o ~ = Orange
~ c ~ = Gray
~ f ~ = Blue
~ l ~ or ~ u ~ or ~ v ~ = Black
~ g ~ = Green
~ y ~ = Yellow
~ p ~ = Purple
~ m ~ = Dark gray
~ s ~ or ~ t ~ = White
~ d ~ = Dark blue
~ q ~ = Pink

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
×
×
  • Create New...