<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[LAMP does not activate locales?]]></title><description><![CDATA[<p dir="auto">I installed <a href="https://mrbs.sourceforge.io/" target="_blank" rel="noopener noreferrer nofollow ugc">MRBS</a> with a LAMP application, it works fine. However, the dates are not displayed in French while the rest of the localization works. The locales are not activated in the container LAMP. Is there a workaround?</p>
<p dir="auto">MRBS is a free, GPL, web application using PHP and MySQL/pgsql for booking meeting rooms or other resources.</p>
]]></description><link>https://forum.cloudron.io/topic/1769/lamp-does-not-activate-locales</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Mar 2026 02:42:58 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/1769.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 16 May 2019 10:52:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to LAMP does not activate locales? on Tue, 08 Oct 2019 22:03:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jeau" aria-label="Profile: jeau">@<bdi>jeau</bdi></a> It looks like I closed <a href="https://git.cloudron.io/cloudron/lamp-app/issues/14" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/cloudron/lamp-app/issues/14</a> by mistake and this went off our radar. I have reopened it.</p>
]]></description><link>https://forum.cloudron.io/post/4617</link><guid isPermaLink="true">https://forum.cloudron.io/post/4617</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 08 Oct 2019 22:03:18 GMT</pubDate></item><item><title><![CDATA[Reply to LAMP does not activate locales? on Mon, 23 Sep 2019 10:04:44 GMT]]></title><description><![CDATA[<p dir="auto">Do you have any news about this?</p>
]]></description><link>https://forum.cloudron.io/post/4482</link><guid isPermaLink="true">https://forum.cloudron.io/post/4482</guid><dc:creator><![CDATA[jeau]]></dc:creator><pubDate>Mon, 23 Sep 2019 10:04:44 GMT</pubDate></item><item><title><![CDATA[Reply to LAMP does not activate locales? on Mon, 03 Jun 2019 17:55:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> I think it's better to make the locales configurable. In my case, it would be perfect.</p>
]]></description><link>https://forum.cloudron.io/post/3679</link><guid isPermaLink="true">https://forum.cloudron.io/post/3679</guid><dc:creator><![CDATA[jeau]]></dc:creator><pubDate>Mon, 03 Jun 2019 17:55:16 GMT</pubDate></item><item><title><![CDATA[Reply to LAMP does not activate locales? on Mon, 03 Jun 2019 08:33:50 GMT]]></title><description><![CDATA[<p dir="auto">Currently for the LAMP app, only POSIX locale is generated:</p>
<pre><code># locale
LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
</code></pre>
<p dir="auto">I wonder if it makes more sense to add the most common locales or make it configurable.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jeau" aria-label="Profile: jeau">@<bdi>jeau</bdi></a> for your use-case, is it sufficient if you can generate the locale on your own and set it within the php app itself as an env variable, or does it have to be set system-wide?</p>
]]></description><link>https://forum.cloudron.io/post/3673</link><guid isPermaLink="true">https://forum.cloudron.io/post/3673</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Mon, 03 Jun 2019 08:33:50 GMT</pubDate></item><item><title><![CDATA[Reply to LAMP does not activate locales? on Sat, 01 Jun 2019 22:08:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> thank you, but the issue is the display of dates and not the strings that are displayed correctly in French (or other languages available). As said <a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> the problem is caused by locales that are not available in the LAMP app.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a>  have created an issue at <a href="https://git.cloudron.io/cloudron/lamp-app/issues/14" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/cloudron/lamp-app/issues/14</a></p>
]]></description><link>https://forum.cloudron.io/post/3669</link><guid isPermaLink="true">https://forum.cloudron.io/post/3669</guid><dc:creator><![CDATA[jeau]]></dc:creator><pubDate>Sat, 01 Jun 2019 22:08:19 GMT</pubDate></item><item><title><![CDATA[Reply to LAMP does not activate locales? on Thu, 30 May 2019 22:07:50 GMT]]></title><description><![CDATA[<p dir="auto">hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/jeau" aria-label="Profile: jeau">@<bdi>jeau</bdi></a>, I gave this a quick try. It seems that you have to set something like this in config.inc.php</p>
<pre><code>$disable_automatic_language_changing = 1;
$default_language_tokens = "fr";
</code></pre>
<p dir="auto">I then get french:</p>
<p dir="auto"><img src="/assets/uploads/files/1559254029999-7b24d421-82a9-495f-be1b-9be65aea5be5-image.png" alt="7b24d421-82a9-495f-be1b-9be65aea5be5-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.cloudron.io/post/3638</link><guid isPermaLink="true">https://forum.cloudron.io/post/3638</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 30 May 2019 22:07:50 GMT</pubDate></item><item><title><![CDATA[Reply to LAMP does not activate locales? on Fri, 17 May 2019 19:08:50 GMT]]></title><description><![CDATA[<p dir="auto">thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/murgero" aria-label="Profile: murgero">@<bdi>murgero</bdi></a> &amp; <a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a></p>
<p dir="auto">Okay, I could try to propose a solution before reporting the problem!<br />
I could also ask on this forum</p>
]]></description><link>https://forum.cloudron.io/post/3547</link><guid isPermaLink="true">https://forum.cloudron.io/post/3547</guid><dc:creator><![CDATA[jeau]]></dc:creator><pubDate>Fri, 17 May 2019 19:08:50 GMT</pubDate></item><item><title><![CDATA[Reply to LAMP does not activate locales? on Fri, 17 May 2019 15:26:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> who said anything about him installing the fork, beyond testing forking allows for others to contribute to the open source project. He could have done the work to add the locales and you test and accept the merge request when it's done. Everybody benefits from forking. I should have been a bit more clear on that.</p>
]]></description><link>https://forum.cloudron.io/post/3546</link><guid isPermaLink="true">https://forum.cloudron.io/post/3546</guid><dc:creator><![CDATA[murgero]]></dc:creator><pubDate>Fri, 17 May 2019 15:26:03 GMT</pubDate></item><item><title><![CDATA[Reply to LAMP does not activate locales? on Fri, 17 May 2019 05:52:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jeau" aria-label="Profile: jeau">@<bdi>jeau</bdi></a> you are right no other locales are setup within the app package. We have to add this, maybe even in the app base image, so all apps have it.</p>
<p dir="auto">I have created an issue at <a href="https://git.cloudron.io/cloudron/lamp-app/issues/14" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/cloudron/lamp-app/issues/14</a></p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/murgero" aria-label="Profile: murgero">@<bdi>murgero</bdi></a> please do not recommend creating forks of app packages, since that also means that any installation from the fork won't easily get updates.</p>
]]></description><link>https://forum.cloudron.io/post/3536</link><guid isPermaLink="true">https://forum.cloudron.io/post/3536</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Fri, 17 May 2019 05:52:55 GMT</pubDate></item><item><title><![CDATA[Reply to LAMP does not activate locales? on Fri, 17 May 2019 01:28:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jeau" aria-label="Profile: jeau">@<bdi>jeau</bdi></a> Maybe you can fork the LAMP app and add the locales to it you need?</p>
]]></description><link>https://forum.cloudron.io/post/3527</link><guid isPermaLink="true">https://forum.cloudron.io/post/3527</guid><dc:creator><![CDATA[murgero]]></dc:creator><pubDate>Fri, 17 May 2019 01:28:36 GMT</pubDate></item><item><title><![CDATA[Reply to LAMP does not activate locales? on Thu, 16 May 2019 20:53:17 GMT]]></title><description><![CDATA[<p dir="auto">It doesn't work any better. The timezone is configured in my application and the French translation is correct. On another server (except Cloudron) MRBS works without any problem. In fact, PHP setlocale has no effect.</p>
<p dir="auto">Cloudron terminal:</p>
<pre><code># locale -a
C
C.UTF-8
POSIX
</code></pre>
<p dir="auto">Another server:</p>
<pre><code>% locale -a
C
C.UTF-8
en_US.utf8
french
fr_FR
fr_FR@euro
fr_FR.iso88591
fr_FR.iso885915@euro
fr_FR.utf8
fr_FR.utf8@euro
POSIX
</code></pre>
]]></description><link>https://forum.cloudron.io/post/3522</link><guid isPermaLink="true">https://forum.cloudron.io/post/3522</guid><dc:creator><![CDATA[jeau]]></dc:creator><pubDate>Thu, 16 May 2019 20:53:17 GMT</pubDate></item><item><title><![CDATA[Reply to LAMP does not activate locales? on Thu, 16 May 2019 18:27:22 GMT]]></title><description><![CDATA[<p dir="auto">In the <code>.htaccess</code> file in the public folder, add the following line to the top. (If the <code>.htaccess</code> file does not exist, create it.)</p>
<p dir="auto">Then add:</p>
<pre><code>php_value date.timezone 'Europe/Paris'
</code></pre>
<p dir="auto">Of course, change the region to the one you need (I assumed Europe/Paris because you said French date. (Also, in that application, if you were talking about the dates not being displayed in the french language, it might not translate dates, or the french translation is not complete.)</p>
]]></description><link>https://forum.cloudron.io/post/3519</link><guid isPermaLink="true">https://forum.cloudron.io/post/3519</guid><dc:creator><![CDATA[murgero]]></dc:creator><pubDate>Thu, 16 May 2019 18:27:22 GMT</pubDate></item></channel></rss>