Topic: Fix to display C Language

The default page that comes up when we navigate to Setup -> Install/Update Languages is the one that has the checkbox "Display also languages not supported by server locales" unchecked and it does not display the default "C" language so important to revert to English!

A fix to remedy this is needed - otherwise we will have to continually check the checkbox and then choose "C".

2 (edited by apmuthu 10/13/2014 01:53:32 am)

Re: Fix to display C Language

The fix for this issue is attached herein.

--- old/admin/inst_lang.php    Mon Sep 29 21:21:28 2014
+++ new/admin/inst_lang.php    Mon Oct 13 07:15:53 2014
@@ -77,7 +77,7 @@
 
         $support = $GetText->check_support($lang, $charset);
 
-        if (function_exists('gettext') && !$support && !get_post('DisplayAll')) continue;
+        if (function_exists('gettext') && !$support && !get_post('DisplayAll') && $lang != 'C') continue;
 
         label_cell($lang);
         label_cell($available ? get_package_view_str($lang, $lang_name) : $lang_name);
Post's attachments

inst_lang_patch.zip 3.5 kb, 4 downloads since 2014-10-13 

You don't have the permssions to download the attachments of this post.

Re: Fix to display C Language

Janusz has now fixed it in the FA Core today.