Jump to content

Localization of (ClickType/Click) not possible?


jls17
  • Branch: Live Branch Version: Windows Fixed

Hello,

I'm trying to update our german translation and I'm struggling with translating the text marked with something like:

#. STRINGS.COLONY_ACHIEVEMENTS.MISC_REQUIREMENTS.STATUS.EXPAND_TOOLTIP
msgctxt "STRINGS.COLONY_ACHIEVEMENTS.MISC_REQUIREMENTS.STATUS.EXPAND_TOOLTIP"
msgid "<i>(ClickType/Click) to view progress</i>"
...

(This kind of "macro" is introduce with the "Sweet Dreams" update and I wasn't following your changes in the PublicTesting branch beforehand. So I didn't notice it, till it was released.)

It looks like this is just working correctly in English language. Even the other languages already provided with the game dont work like I think they should. The example above shows a text used on the achievement page and I attached some screenshot showing the text in-game in different languages.

Can someone from the Klei-team confirm, if that's an unfinished feature you're still working on, or if this is really a bug? Thanks in advance.

tooltip_achievements_de.png

tooltip_achievements_en.png

tooltip_achievements_ko.png


Steps to Reproduce
  • Start a new game
  • Open the collony-summay page
  • hover with the mouse over one achievement
  • now the tooltip windows should occur
  • (repeat steps above with using a different language)



User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.

Glad that fixed.

 

Is that means we just translate like below? (example traditional chinese)

From

(ClickType/Click)

To 

(ClickType/點擊)

Share this comment


Link to comment
Share on other sites

No you'll want to leave it untranslated. It gets replaced using strings found under the path STRINGS.UI.CONTROLS such as these.

#. STRINGS.UI.CONTROLS.CLICK
msgctxt "STRINGS.UI.CONTROLS.CLICK"
msgid "Click"
msgstr "点击"

#. STRINGS.UI.CONTROLS.CLICKABLE
msgctxt "STRINGS.UI.CONTROLS.CLICKABLE"
msgid "Clickable"
msgstr "点击"

#. STRINGS.UI.CONTROLS.CLICKABLELOWER
msgctxt "STRINGS.UI.CONTROLS.CLICKABLELOWER"
msgid "clickable"
msgstr "点击"

#. STRINGS.UI.CONTROLS.CLICKABLEUPPER
msgctxt "STRINGS.UI.CONTROLS.CLICKABLEUPPER"
msgid "CLICKABLE"
msgstr "点击"
  • Thanks 2

Share this comment


Link to comment
Share on other sites

On 2/23/2023 at 4:52 AM, EricKlei said:

No you'll want to leave it untranslated. It gets replaced using strings found under the path STRINGS.UI.CONTROLS such as these.

It still doesn't work with the 544793 release. The translations are not applied.

The STRINGS.UI.DIAGNOSTICS_SCREEN.CLICK_TOGGLE_MESSAGE.ALWAYS translation was changed back to use (ClickType/Click)

and STRINGS.UI.CONTROLS.CLICK is translated.

 

Screenshot_20230225_100000.png

Edited by krop

Share this comment


Link to comment
Share on other sites

The fix hasn't gone live yet, when it does it will show up in the patch notes as:

Quote

Fixed localization of strings using "click" and "press".

  • Thanks 1

Share this comment


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