Comments (5)
Characters cannot be displayed after translation
from wcs.
wcs_centertell Unable to use Chinese Translation
Characters cannot be displayed after translation
This is not an issue with WCS but the ES Emulator instead. I've been trying to find where the issues lies but haven't been able to do so.
from wcs.
wcs_centertell Unable to use Chinese Translation
Characters cannot be displayed after translation
This is not an issue with WCS but the ES Emulator instead. I've been trying to find where the issues lies but haven't been able to do so.
Do you have any alternatives to make it display my translation normally, I am using the race of https://github.com/ManifestManah/Racepack-Standard
from wcs.
Do you have any alternatives to make it display my translation normally, I am using the race of https://github.com/ManifestManah/Racepack-Standard
A thing you could do (if you're comfortable with coding a bit yourself) is to add the translations to the resource/source-python/translations/wcs/strings.ini
file (create it if it doesn't exist), and then use wcs_xtell (instead of es_tell) and wcs_xcentertell (instead of es_centertell).
So instead of (taking Archmage Proudmore as an example):
es wcs_centertell event_var(userid) event_var(es_attackername) struck you with his earthquake!
You change it to:
es wcs_xcentertell event_var(userid) archmage_proudmore_shake_victim name event_var(es_attackername)
The strings.ini
file would then look like this:
[archmage_proudmore_shake_victim]
en = "$name struck you with his earthquake!"
zh-cn = "$name 震撼了你!"
(my apologize if I've completely butchered the translation - Google Translate's fault)
archmage_proudmore_shake_victim
is the text wcs_xcentertell
(and wcs_xtell
for that matter) searches for, so make sure it's unique to that race as well as skill (and for multiple messages in same skill, make them unique as I've done: Added _victim
for the victim's message). The name
part of the command is a key it searches for in the translations. It's then being replaced by the next argument which is event_var(es_attackername)
.
from wcs.
你有没有别的办法让它显示我的翻译,我用的是Https://github.com/ManifestManah/Racepack-Standard
您可以做的一件事(如果您对自己编写代码很满意的话)是将翻译添加到
resource/source-python/translations/wcs/strings.ini
文件(如果它不存在的话创建它),然后使用wcs_xtelt(而不是es_telt)和wcs_x心TEL(而不是es_中心语)。因此,不要(以大法师Proudmore为例):
es wcs_centertell event_var(userid) event_var(es_attackername) struck you with his earthquake!
你把它改为:
es wcs_xcentertell event_var(userid) archmage_proudmore_shake_victim name event_var(es_attackername)
这个strings.ini
然后,文件将如下所示:[archmage_proudmore_shake_victim] en = "$name struck you with his earthquake!" zh-cn = "$name 震撼了你!"(如果我把翻译全毁了--谷歌翻译的错误,我很抱歉)
archmage_proudmore_shake_victim
是文本wcs_xcentertell
(和wcs_xtell
)搜索,所以确保它对该种族和技能都是独一无二的(对于同一技能中的多条消息,让它们像我所做的那样独一无二:_victim
受害者的信息)。这个name
命令的一部分是它在翻译中搜索的键。然后,它被下一个参数所取代,这个参数是event_var(es_attackername)
.
Thank you for your method. I'll try
from wcs.
Related Issues (20)
- WCS not parsing some races HOT 1
- Issue loading wcs HOT 23
- Conversion from index exceptions HOT 3
- [REQUEST] sound effect on levelup HOT 1
- [REQUEST] Old raceinfo/skillinfo system HOT 4
- Problems with mysql HOT 2
- Exception when player leaves the game HOT 1
- Bots keep getting kicked HOT 5
- WCS setmodel not working properly HOT 2
- setfx disguiser missing arms/gloves HOT 1
- Disguise/mole models do not match the models defined for the map HOT 3
- Slow load of database HOT 1
- [REQUEST] exclude bots from wcstop ranking HOT 1
- [QUESTION] Any way to use damage type DMG_FALL for damage commands? (Armor damage reduction) HOT 2
- Ultimates and abilities HOT 2
- Teamlimit errors preventing changerace with Zombie Reloaded V3 running HOT 1
- You do not die on changerace if you recently used kill or changed race HOT 4
- Weird option numbering for skills in old style raceinfo menu HOT 1
- WCS doesnt work on brand new server - CSGO HOT 8
- wcs cant load after using 0.78 race format HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wcs.