Steam 설치
로그인
|
언어
简体中文(중국어 간체)
繁體中文(중국어 번체)
日本語(일본어)
ไทย(태국어)
Български(불가리아어)
Čeština(체코어)
Dansk(덴마크어)
Deutsch(독일어)
English(영어)
Español - España(스페인어 - 스페인)
Español - Latinoamérica(스페인어 - 중남미)
Ελληνικά(그리스어)
Français(프랑스어)
Italiano(이탈리아어)
Bahasa Indonesia(인도네시아어)
Magyar(헝가리어)
Nederlands(네덜란드어)
Norsk(노르웨이어)
Polski(폴란드어)
Português(포르투갈어 - 포르투갈)
Português - Brasil(포르투갈어 - 브라질)
Română(루마니아어)
Русский(러시아어)
Suomi(핀란드어)
Svenska(스웨덴어)
Türkçe(튀르키예어)
Tiếng Việt(베트남어)
Українська(우크라이나어)
번역 관련 문제 보고
It's basically due to the fact that each languages describes yields in different order.
For example of English and Italian, it goes like "+1 from Blah Blah". On the other hand, languages like Korean and Japanese goes like "Due to Blah Blah +1". The way how this mod is written works completely fine for those languages which puts numeric values first, but not the other way around.
If you want to fix this issue, you need to change few coding lines.
What you want to modify is:
\Steam\steamapps\workshop\content\289070\939149009\UI\Common\Additions\Suk_YieldTT.lua
Open the file with something like notepad.
And replace below "original" codes in the file with "modified" ones as indicated.
Original1: local sPattern = "(%+*%-*%d*%.?%d+)%s*(.*)"
Modified1: local sPattern = "(.*)%s+(%+*%-*%d*%.?%d+)"
Original2: iNum, sString = string.match(sLine, sPattern)
Modified2: sString, iNum = string.match(sLine, sPattern)
Save the file and then start Civ6.
Thanks to the mod, awesome features and makes the game very convenient overall
Any way to text fill correctly in the UI?
At least it is better than blank one :p
Do as previously said by nyturtle :
Original2: iNum, sString = string.match(sLine, sPattern)
Modified2: sString, iNum = string.match(sLine, sPattern
But change sPattern by:
Original1: local sPattern = "(%+*%-*%d*%.?%d+)%s*(.*)"
Modified1: local sPattern = "(.*)%s*:%s*(%+*%-*%d*%.?%d+)"
Result (in french localization): https://ibb.co/QKsSJqj
I have modifid the code for Japanese localization.
I log it here, for any other Japanese people.
■解決できる不具合
画面右下、都市の「食料」や「生産力」にマウスオーバーした際に出てくるツールチップ。
項目の内訳が表示されるが、日本語利用時にMODを使うと説明文が正常に表示されない。
■解決方法
本スレッドの上流で、フランス語での対応方法の記載があったため、参考にして日本語用のコードを作成しました。
反映に当たってはMODが入っているフォルダー内の.luaファイルを、手動で編集する必要があります。
なお、以下の修正は、私の環境でしか動作を確認していません。
そのため、作業を行う前に、該当ファイルのバックアップを取っておいた方がよいかもしれません。
・対象ファイル
\Steam\steamapps\workshop\content\289070\939149009\UI\Common\Additions\Suk_YieldTT.lua
※\Staamがインストールされているフォルダーは各自見つけてください。
たいていは、C:\Program Files (x86)\ のはず。
・変更内容①
・変更内容②
・変更後
変更後にゲームを起動してMODを有効化すると、該当箇所の表示が見えるようになると思います。