Opened 4 years ago

Closed 3 years ago

#61209 closed defect (fixed)

freeciv @2.6.2 UI is in Greek

Reported by: ShadSterling (Shad Sterling) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc:
Port: freeciv gettext

Description

The FreeCiv UI used to be in English, but now it's in Greek. I haven't tried to play since apparently 2017, so I don't know exactly when this changed. I assume there's some setting somewhere that controls the UI language but I couldn't find any documentation of it, and trying to run it with different values of LANG in its environment didn't help.

Attachments (2)

Screen Shot 2020-09-22 at 14.14.46.746.png (2.3 MB) - added by ShadSterling (Shad Sterling) 4 years ago.
Screenshot of FreeCiv UI
Screen Shot 2020-09-23 at 11.08.02.562.png (526.0 KB) - added by ShadSterling (Shad Sterling) 4 years ago.
Language & Region panel

Change History (12)

Changed 4 years ago by ShadSterling (Shad Sterling)

Screenshot of FreeCiv UI

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Check System Preferences → Language & Region. Is Greek listed there?

comment:2 Changed 4 years ago by ShadSterling (Shad Sterling)

It is, I added something there in 2009 or 2010 to make the greek letters more readily accessible (for math & physics), and I'm not sure the options are the same now. So that was in place long before FreeCiv changed to Greek. In addition to all of the OS upgrades I migrated to a new MacBook in 2018. In Language & Region, English is noted as Primary; shouldn't everything use the primary language by default?

Changed 4 years ago by ShadSterling (Shad Sterling)

Language & Region panel

comment:3 Changed 4 years ago by jmroot (Joshua Root)

There are a number of other environment variables involved with locale stuff. Run the locale command to see them all. Also check the International section of Terminal's Advanced preferences tab.

comment:4 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

It may be the case that this is a bug that was fixed in gettext 0.20. A change mentioned in its changelog:

 - The interpretation of the language preferences on macOS has been fixed.

I have gettext 0.20.2 installed and cannot reproduce the issue.

gettext in MacPorts has not yet been updated to this version; see #58526.

comment:5 Changed 4 years ago by ShadSterling (Shad Sterling)

I'm at gettext @0.19.8.1_2, and port upgrade gettext doesn't upgrade it; how do I get 0.20?

comment:6 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

As I said above, gettext in MacPorts has not yet been updated to this version; see #58526.

comment:7 Changed 3 years ago by JDLH (Jim DeLaHunt)

Freeciv picked up a secondary language in my System Preferences → Language & Region early in 2021 and earlier. Now I am working with version Freeciv version 2.6.6, and I do not see that problem. I now have gettext @0.21_0. Maybe the problem was related to gettext @0.19.8.1_2 and is now resolved?

comment:8 Changed 3 years ago by ShadSterling (Shad Sterling)

Owner: set to ShadSterling
Status: newassigned

Confirmed, the UI appears in english for me now as well; freeciv @2.6.4_0 with gettext @0.21_0

comment:9 Changed 3 years ago by ShadSterling (Shad Sterling)

Owner: ShadSterling deleted

I'd close this ticket, but I don't see a way to do that

comment:10 Changed 3 years ago by jmroot (Joshua Root)

Port: gettext added
Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.