<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=5494&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Change locales issue]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=5494</link>
		<description><![CDATA[The most recent posts in Change locales issue.]]></description>
		<lastBuildDate>Fri, 03 Feb 2023 00:50:16 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Change locales issue]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=40804#p40804</link>
			<description><![CDATA[<p>I have now achieved what I wanted to do, i.e. I can change between languages within the individual GTK package; just to mention, I tested languages which weren&#039;t enabled on the system, <span style="color: green">en_GB</span> and <span style="color: green">nn_NO</span> are the system languages, and they worked as well.</p><div class="codebox"><pre><code>olav@DDAmt:~$ gsettings set org.gnome.system.locale region en_GB.UTF-8</code></pre></div><p>I find this very strange but setting a specific language code with the command above changed everything. The «org.gnome.system.locale» string used to be empty, as shown in an earlier post, setting it to <span style="color: green">en.GB</span>, or any language-code other than empty I presume, just made it possible to swap between them. Furthermore, even though I had set <span style="color: green">en_GB</span> as default language (system-wide and KDE locales), after a re-login GIMP started using the <span style="color: green">nn_NO</span>.</p><p>I&#039;ll stop now, too much speculations and I haven&#039;t got the energy nor the capacity probably to dig deeper to find the, obvious, logic behind this behaviour. </p><p>One thing I&#039;m quite sure of though is that the output of «gsettings get org.gnome.system.locale region» command can&#039;t show an empty string, for whatever reason, if it does you, or at least I wasn&#039;t (on two different computers in fact), won&#039;t be able to change the locale setting for GTK apps in accordance with your preference in KDE nor swap between translations from within the individual applications, GIMP and Inkscape tested in this case.</p><p>Some premises seeing the above to be (fairly)valid:<br /> - Devuan Beowulf<br /> - KDE<br /> - everything up to date<br /> - no repositories other than the official ones (apart from some application specific repoes which should not interfere with the system in any way)</p><p>Thanks for your help Head_on_a Stick!<br />(you have my vote if you wish to have it back on your shoulders)</p><p>Olav</p>]]></description>
			<author><![CDATA[dummy@example.com (F_Sauce)]]></author>
			<pubDate>Fri, 03 Feb 2023 00:50:16 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=40804#p40804</guid>
		</item>
		<item>
			<title><![CDATA[Re: Change locales issue]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=40794#p40794</link>
			<description><![CDATA[<p>Okay <img src="http://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (F_Sauce)]]></author>
			<pubDate>Thu, 02 Feb 2023 09:57:27 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=40794#p40794</guid>
		</item>
		<item>
			<title><![CDATA[Re: Change locales issue]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=40596#p40596</link>
			<description><![CDATA[<p>@F_Sauce . . . You should be able to edit you previous posts to change the tag to code. <img src="http://dev1galaxy.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (golinux)]]></author>
			<pubDate>Thu, 26 Jan 2023 16:53:34 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=40596#p40596</guid>
		</item>
		<item>
			<title><![CDATA[Re: Change locales issue]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=40595#p40595</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>And please use code tags rather than quote tags when posting terminal output.</p></div></blockquote></div><p>OK, I&#039;ll try to remember that.</p><p>And thanks so far!</p>]]></description>
			<author><![CDATA[dummy@example.com (F_Sauce)]]></author>
			<pubDate>Thu, 26 Jan 2023 16:40:06 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=40595#p40595</guid>
		</item>
		<item>
			<title><![CDATA[Re: Change locales issue]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=40591#p40591</link>
			<description><![CDATA[<p>The trick is to read the <a href="https://manpages.debian.org/bullseye/libglib2.0-bin/gsettings.1.en.html" rel="nofollow">man page</a>.</p><p>But I might be wrong about this because</p><div class="codebox"><pre><code>gsettings range org.gnome.system.locale region</code></pre></div><p>Outputs</p><div class="codebox"><pre><code>type s</code></pre></div><p>Which makes no sense <img src="http://dev1galaxy.org/img/smilies/hmm.png" width="15" height="15" alt="hmm" /></p><p>You could try</p><div class="codebox"><pre><code>gsettings set org.gnome.system.locale region nn_NO.UTF-8</code></pre></div><p>And please use code tags rather than quote tags when posting terminal output.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Thu, 26 Jan 2023 15:56:23 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=40591#p40591</guid>
		</item>
		<item>
			<title><![CDATA[Re: Change locales issue]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=40590#p40590</link>
			<description><![CDATA[<p>By the way, what is the syntax? <br />Where should I put in the language code to use?</p><p>I was a bit confused by this output:</p><div class="codebox"><pre><code>olav@DDAmt:~$ gsettings set org.gnome.system.locale region
Usage:
  gsettings [--schemadir SCHEMADIR] set SCHEMA[:PATH] KEY VALUE

Set the value of KEY to VALUE

Arguments:
  SCHEMADIR A directory to search for additional schemas
  SCHEMA    The name of the schema
  PATH      The path, for relocatable schemas
  KEY       The key within the schema
  VALUE     The value to set</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (F_Sauce)]]></author>
			<pubDate>Thu, 26 Jan 2023 15:42:18 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=40590#p40590</guid>
		</item>
		<item>
			<title><![CDATA[Re: Change locales issue]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=40589#p40589</link>
			<description><![CDATA[<p>It says nothing in fact <img src="http://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><div class="codebox"><pre><code>olav@DDAmt:~$ gsettings get org.gnome.system.locale region
&#039;&#039;</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (F_Sauce)]]></author>
			<pubDate>Thu, 26 Jan 2023 15:37:09 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=40589#p40589</guid>
		</item>
		<item>
			<title><![CDATA[Re: Change locales issue]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=40579#p40579</link>
			<description><![CDATA[<p>What does this say:</p><div class="codebox"><pre><code>gsettings get org.gnome.system.locale region</code></pre></div><p>Use the <span class="bbc">set</span> option (instead of <span class="bbc">get</span>) to set the correct region. The <span class="bbc">gsettings</span> command is supplied by the libglib2.0-bin package. Or use dconf-editor if you prefer a GUI.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Wed, 25 Jan 2023 19:51:35 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=40579#p40579</guid>
		</item>
		<item>
			<title><![CDATA[Re: Change locales issue]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=40578#p40578</link>
			<description><![CDATA[<div class="codebox"><pre><code>[color=green]olav@DDAmt:~$ locale
[/color]locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=nn_NO.UTF-8
LANGUAGE=en_GB
LC_CTYPE=&quot;nn_NO.UTF-8&quot;
LC_NUMERIC=&quot;nn_NO.UTF-8&quot;
LC_TIME=&quot;nn_NO.UTF-8&quot;
LC_COLLATE=&quot;nn_NO.UTF-8&quot;
LC_MONETARY=&quot;nn_NO.UTF-8&quot;
LC_MESSAGES=&quot;nn_NO.UTF-8&quot;
LC_PAPER=&quot;nn_NO.UTF-8&quot;
LC_NAME=&quot;nn_NO.UTF-8&quot;
LC_ADDRESS=&quot;nn_NO.UTF-8&quot;
LC_TELEPHONE=&quot;nn_NO.UTF-8&quot;
LC_MEASUREMENT=&quot;nn_NO.UTF-8&quot;
LC_IDENTIFICATION=&quot;nn_NO.UTF-8&quot;
LC_ALL=
[color=green]olav@DDAmt:~$ [/color]</code></pre></div><p>This output is from after disabling «nn_NO.UTF-8» locally (KDE system settings) as well.<br />Just a final note, «kde-l10n-nn» wasn&#039;t even installed when I started this thread, so probably a reinstall, not a dist-upgrade; I haven&#039;t used this computer for a while and can&#039;t remember precisely.</p>]]></description>
			<author><![CDATA[dummy@example.com (F_Sauce)]]></author>
			<pubDate>Wed, 25 Jan 2023 19:03:13 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=40578#p40578</guid>
		</item>
		<item>
			<title><![CDATA[Re: Change locales issue]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=40577#p40577</link>
			<description><![CDATA[<p>I have two locales enabled: en_GB and nn_NO, in that priority order.</p><div class="codebox"><pre class="vscroll"><code>[color=green]olav@DDAmt:~$ locale -a[/color]
C
C.UTF-8
en_GB.utf8
nn_NO.utf8
POSIX
[color=green]olav@DDAmt:~$ echo $LANG[/color]
nn_NO.UTF-8
[/quote]
As you may see, the latter command shows just Norwegian (nynorsk) as available.

If I disable nn_NO (dpkg-reconfigure locales), some of the «LC_ ...» parameters will state «not available» (those not set specifically as appropriate from a Norwegian and personal point of view: monetary, numeric, time etc.).
[quote][color=green]olav@DDAmt:~$ locale[/color]
LANG=nn_NO.UTF-8
LANGUAGE=en_GB:nn
LC_CTYPE=&quot;nn_NO.UTF-8&quot;
LC_NUMERIC=&quot;nn_NO.UTF-8&quot;
LC_TIME=&quot;nn_NO.UTF-8&quot;
LC_COLLATE=&quot;nn_NO.UTF-8&quot;
LC_MONETARY=&quot;nn_NO.UTF-8&quot;
LC_MESSAGES=&quot;nn_NO.UTF-8&quot;
LC_PAPER=&quot;nn_NO.UTF-8&quot;
LC_NAME=&quot;nn_NO.UTF-8&quot;
LC_ADDRESS=&quot;nn_NO.UTF-8&quot;
LC_TELEPHONE=&quot;nn_NO.UTF-8&quot;
LC_MEASUREMENT=&quot;nn_NO.UTF-8&quot;
LC_IDENTIFICATION=&quot;nn_NO.UTF-8&quot;
LC_ALL=
[color=green]olav@DDAmt:~$ locale[/color]
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=nn_NO.UTF-8
LANGUAGE=en_GB:nn
LC_CTYPE=&quot;nn_NO.UTF-8&quot;
LC_NUMERIC=&quot;nn_NO.UTF-8&quot;
LC_TIME=&quot;nn_NO.UTF-8&quot;
LC_COLLATE=&quot;nn_NO.UTF-8&quot;
LC_MONETARY=&quot;nn_NO.UTF-8&quot;
LC_MESSAGES=&quot;nn_NO.UTF-8&quot;
LC_PAPER=&quot;nn_NO.UTF-8&quot;
LC_NAME=&quot;nn_NO.UTF-8&quot;
LC_ADDRESS=&quot;nn_NO.UTF-8&quot;
LC_TELEPHONE=&quot;nn_NO.UTF-8&quot;
LC_MEASUREMENT=&quot;nn_NO.UTF-8&quot;
LC_IDENTIFICATION=&quot;nn_NO.UTF-8&quot;
LC_ALL=</code></pre></div><p>As I see it, this has to be some locale settings stuck from before a dist-upgrade/reinstall.</p>]]></description>
			<author><![CDATA[dummy@example.com (F_Sauce)]]></author>
			<pubDate>Wed, 25 Jan 2023 18:52:25 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=40577#p40577</guid>
		</item>
		<item>
			<title><![CDATA[Re: Change locales issue]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=40550#p40550</link>
			<description><![CDATA[<p>Thanks a lot, and there are some progress, though not in the expected direction <img src="http://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>I&#039;ll come back to it whether or not I manage to get the result I want; in the latter case, it might be helpful for others.</p><p>Cheers,<br />Olav</p>]]></description>
			<author><![CDATA[dummy@example.com (F_Sauce)]]></author>
			<pubDate>Tue, 24 Jan 2023 21:35:11 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=40550#p40550</guid>
		</item>
		<item>
			<title><![CDATA[Re: Change locales issue]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=40543#p40543</link>
			<description><![CDATA[<p>Have you tried</p><div class="codebox"><pre><code># dpkg-reconfigure locales</code></pre></div><p>See also <a href="https://wiki.debian.org/Locale" rel="nofollow">https://wiki.debian.org/Locale</a>.</p><p>If you have tried it then please post</p><div class="codebox"><pre><code>locale -a
echo $LANG</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Tue, 24 Jan 2023 18:14:20 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=40543#p40543</guid>
		</item>
		<item>
			<title><![CDATA[Change locales issue]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=40528#p40528</link>
			<description><![CDATA[<p>Hello everyone.</p><p>I seem to be unable to change locales (interface) on some applications, GIMP, Inkscape are the ones tested for now.<br />I am running on KDE and KDE apps seems to function fine in this regard so I guess it has to do with GTK applications; it didn&#039;t use to be like this before though.</p><p>All the appropriate language files are present but the programmes seem unable to read them; GIMP, for instance, regards the present of the lang-file but after a restart the language stays the same.</p><p>Any tips on this one?</p><p>Cheers,<br />Olav</p>]]></description>
			<author><![CDATA[dummy@example.com (F_Sauce)]]></author>
			<pubDate>Tue, 24 Jan 2023 13:57:42 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=40528#p40528</guid>
		</item>
	</channel>
</rss>
