# Little glitches in character sheet when the language is Chinese

**URL:** <https://discourse.stonehearth.net/t/little-glitches-in-character-sheet-when-the-language-is-chinese/31854>\
**Category:** Suggestions\
**Tags:** ui\_suggestion\
**Created:** [September 1, 2017, 8:28am UTC](https://discourse.stonehearth.net/t/little-glitches-in-character-sheet-when-the-language-is-chinese/31854 "2017-09-01T08:28:49Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Iviaca](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/iviaca/32/23101_2.png) [@Iviaca](https://discourse.stonehearth.net/u/Iviaca)\
**Post date:** [September 1, 2017, 8:28am UTC](https://discourse.stonehearth.net/t/little-glitches-in-character-sheet-when-the-language-is-chinese/31854/1 "2017-09-01T08:28:49Z")

</div>

## Alpha 22.5 r761

After today’s update, I found there’s something wrong with character sheets when the language is turned into Simplified Chinese (I think Traditional Chinese character probably will also encounter this problem)

The screenshot and mod file are as below

![glitch](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/3/d/3d8c0e059efb6a5c40ab8ecf08e421ffd206f610.jpg)  
[Chinese\_Translation.smod](https://discourse.stonehearth.net/uploads/short-url/5oPF9XEWpg4MMkr5tqzbX5BXSHc.smod) (2.3 MB)

As can be seen from the picture, the space before the thoughts seems to be not enough for the characters showing the duration of it when it comes to Chinese.  
(PS: “24小时/24小時” is simplified/traditional character for “24h”)

I’d so appreciate it if you can fix it 🙂  
Love you guys~

---

<div class="post-metadata">

**Author:** ![Wiese2007](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/wiese2007/32/15946_2.png) [@Wiese2007](https://discourse.stonehearth.net/u/Wiese2007)\
**Post date:** [September 1, 2017, 9:16am UTC](https://discourse.stonehearth.net/t/little-glitches-in-character-sheet-when-the-language-is-chinese/31854/2 "2017-09-01T09:16:26Z")

</div>

Thats Part of your Job 😉 every translator must change the ui for his language himself… And Do you have the permisson to change/Update the Mod from law?

---

<div class="post-metadata">

**Author:** ![Iviaca](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/iviaca/32/23101_2.png) [@Iviaca](https://discourse.stonehearth.net/u/Iviaca)\
**Post date:** [September 1, 2017, 10:06am UTC](https://discourse.stonehearth.net/t/little-glitches-in-character-sheet-when-the-language-is-chinese/31854/3 "2017-09-01T10:06:46Z")

</div>

yep, it’s always been us two making the mod :content:

---

<div class="post-metadata">

**Author:** ![Iviaca](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/iviaca/32/23101_2.png) [@Iviaca](https://discourse.stonehearth.net/u/Iviaca)\
**Post date:** [September 1, 2017, 10:09am UTC](https://discourse.stonehearth.net/t/little-glitches-in-character-sheet-when-the-language-is-chinese/31854/4 "2017-09-01T10:09:48Z")

</div>

> [@Wiese2007](#):
>
> change the ui

does that mean probing into the source code…

---

<div class="post-metadata">

**Author:** ![dalabo](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/dalabo/32/52082_2.png) [@dalabo](https://discourse.stonehearth.net/u/dalabo)\
**Post date:** [September 1, 2017, 10:25am UTC](https://discourse.stonehearth.net/t/little-glitches-in-character-sheet-when-the-language-is-chinese/31854/5 "2017-09-01T10:25:48Z")

</div>

You need to modify the code in

> stonehearth/ui/game/character\_sheets/citizen\_character\_sheet/citizen\_character\_sheet.less

I also modify those .less files to make the words look bigger. The default font size is too small for Chinese.

BTW, I use only 1 word. 🤣

![image](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/e/8/e89eb84a1bc92e69d65b525ac32c71d090b25a40.jpg)

---

<div class="post-metadata">

**Author:** ![Iviaca](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/iviaca/32/23101_2.png) [@Iviaca](https://discourse.stonehearth.net/u/Iviaca)\
**Post date:** [September 1, 2017, 10:40am UTC](https://discourse.stonehearth.net/t/little-glitches-in-character-sheet-when-the-language-is-chinese/31854/7 "2017-09-01T10:40:05Z")

</div>

I thought it was in citizen\_character\_sheet.js …

Thanks a lot, I’ll check it out 😀

---

<div class="post-metadata">

**Author:** ![dalabo](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/dalabo/32/52082_2.png) [@dalabo](https://discourse.stonehearth.net/u/dalabo)\
**Post date:** [September 1, 2017, 10:54am UTC](https://discourse.stonehearth.net/t/little-glitches-in-character-sheet-when-the-language-is-chinese/31854/8 "2017-09-01T10:54:51Z")

</div>

It is in the `citizen_character_sheet.less`.  
The UI of the game is basically a web page, and the less files define the layout.

---

<div class="post-metadata">

**Author:** ![Wiese2007](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/wiese2007/32/15946_2.png) [@Wiese2007](https://discourse.stonehearth.net/u/Wiese2007)\
**Post date:** [September 1, 2017, 12:37pm UTC](https://discourse.stonehearth.net/t/little-glitches-in-character-sheet-when-the-language-is-chinese/31854/9 "2017-09-01T12:37:49Z")

</div>

heyho thx for explanation while i was at work ^^

@Iviaca ok good to know ^^ i know only @law because he has asked my everthing from the start ^^ so if you need help just send me an pm ^^

---

<div class="post-metadata">

**Author:** ![Iviaca](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/iviaca/32/23101_2.png) [@Iviaca](https://discourse.stonehearth.net/u/Iviaca)\
**Post date:** [September 1, 2017, 12:46pm UTC](https://discourse.stonehearth.net/t/little-glitches-in-character-sheet-when-the-language-is-chinese/31854/10 "2017-09-01T12:46:53Z")

</div>

_(:зゝ∠)_ That’s alright, I was not so active here so it’s pretty normal not to know me. XD

and after one-hour “hard work”, I finally make it!!! Yay!!!  
and… slightly increased the font size.

![qwq](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/9/8/98682423e5d8598d789db5235de3174bfacb23b0.jpg)

Thanks for all the help @Wiese2007 @dalabo:merry:
