Skip to content

sysding: Enhance locale setup with additional variables - #9

Open
Hexalantes wants to merge 1 commit into
OpenIndiana:oifrom
Hexalantes:patch-1
Open

sysding: Enhance locale setup with additional variables#9
Hexalantes wants to merge 1 commit into
OpenIndiana:oifrom
Hexalantes:patch-1

Conversation

@Hexalantes

Copy link
Copy Markdown

Added locale variables for GNU gettext apps

Add locale variables for GUI applications and improve error handling.
@olbohlen

olbohlen commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Hi,

thank you for your contribution.Unfortunately we cannot integrate it that way. Modifying the /etc/profile by blindly appending a line to it, could lead into problems. I do ASSUME that these variables should also go to /etc/default/init - if they are needed at all. It could be that the locale settings for the desktop should go somewhere in the desktop configurations.

Could you please provide information if you have checked for other config options for the desktop? and also if you have tested adding this to /etc/default/init ?

Thanks,

Olaf

@Hexalantes

Hexalantes commented Sep 2, 2026

Copy link
Copy Markdown
Author

Hello,
While LightDM and GNU Gettext apps do read /etc/profile instead of /etc/default/init, at least setting the "LANGUAGE" variable is necessary for desktop localization. When you try to install the os with a different language, it does not set this variable and the desktop stays English aswell. Also /etc/default/init does not support a localization variable named "LANGUAGE", it does not set the locale so. Maybe the other (LC_DATE etc) variables can be not necessary but the "LANGUAGE" is necessary for desktop. Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants