Jump to content
Naval Games Community

Recommended Posts

Posted

I'm here to complain about the text in Chinese and Japanese. They are of improper size. 

image.thumb.jpeg.6a8c76e7657813e3f1bd8a8c3d8c28ec.jpeg

As the figure shows in right, the explanation of HULL is not working well. It's written in needle. It's a unique problem of Asian language. I managed to solve that partially by adding code in the 'Chinese.lng' file. Here is an example.

CHANGED

$LoadingScreens_Text_51;<size=44>*舰桥*是船只的重要组成部分,必须包含在所有设计中.指挥塔增强了能见度,精确度和损伤控制.烟囱排放的烟雾可能会妨碍能见度并减弱其效果.</size>

ORIGIONAL

$LoadingScreens_Text_51;*舰桥*是船只的重要组成部分,必须包含在所有设计中.指挥塔增强了能见度,精确度和损伤控制.烟囱排放的烟雾可能会妨碍能见度并减弱其效果.

 

It's not working so well on Chinese because different parts of text share the SAME TEXT CONTENT sometimes.

 

20231104104451_1.thumb.jpg.b84f5f1233acc322694989924823e742.jpg

It's obvious that the size has a problem. Let me explain this first.

Generally speaking, every UI region should have had an independent variable. The bottom of the construction UI starts with '$partcategories_name'. Then, the right info UI starts with '$Stats_name'. And the help UI starts with '$Ui_Constr'. Finally, the loading with '$LoadingScreens'. The text 'Main Guns'  occurs everywhere, and the devs assign one variable for the string in everywhere. That's where the problem is from.

So, I'm going to give my opinion and solution on that. This problem doesn't happen on any European languages of letter. It indicates that an automatic function is deployed for the text size. And when it doesn't work and I have to manually change the text size of a certain one, the whole UI goes to a mess. Obviously, the first option is to rewrite the function. But it's tricky and a final solution. 

A more practical solution is to separate the variables. The size problem happens on the bottom of construction UI. Then give every text paragraph a special variable name. There's still some work to do, but the most of it is copy and paste. The size problem concentrates on the 9 parts on the bottom of construction UI. Then I may change the size in .lng file. It's not smart but it works. Of course closing eyes and pretending nothing happened is not the solution I'm expecting. 

  • Like 1

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