Add language/locale configuration option #10249
-
|
Title: Add language/locale configuration option Category: Feature Requests, Ideas Body: Summary It would be very useful to have a configuration option to set the language/locale directly in Ghostty's config file, rather than relying solely on system environment variables. Motivation Currently, Ghostty's language can only be changed by:
This is inconvenient for users who want to:
Proposed Solution Add a configuration option such as: Set the language for Ghostty UIlanguage = zh_CN.UTF-8 Or alternatively: Set the locale for translationslocale = zh_CN This would allow users to easily set their preferred language in the config file at:
Implementation Considerations
Alternatives The current workaround is to use an alias or wrapper script, but this is less discoverable and less integrated with Ghostty's configuration system. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
This is something that has been asked before so I'll accept it. The way to hot-reload languages for gettext/libintl is very cursed, but we can definitely make it work. |
Beta Was this translation helpful? Give feedback.
This is something that has been asked before so I'll accept it. The way to hot-reload languages for gettext/libintl is very cursed, but we can definitely make it work.