From 2b0561c3e21b4d80f90e55e3640023076008626e Mon Sep 17 00:00:00 2001 From: pezcurrel Date: Fri, 29 Dec 2023 10:33:53 +0100 Subject: [PATCH] Added info about the necessity to also add the corresponding locale to the system when adding a language code --- web/lib/supplangs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/lib/supplangs.php b/web/lib/supplangs.php index 742eafd..0401289 100644 --- a/web/lib/supplangs.php +++ b/web/lib/supplangs.php @@ -1,6 +1,6 @@ " locally and on the server --- it is *no longer necessary* to modify "$menu" variable in "../index.php", "$hlmap" variable in "../stats.php", "$hitslang" and "$langs" variables in "../../clitools/mustool.php" and "getlangid" function in "../../clitools/getinstinfo.php" +// when adding a language code here, it is necessary to add its locale to the system, to the "localemap" function in localemap.php, and to "langs" variable in "../../clitools/updtrans.bash" (if missing), and to run "../../clitools/addlang.php " locally and on the server --- it is *no longer necessary* to modify "$menu" variable in "../index.php", "$hlmap" variable in "../stats.php", "$hitslang" and "$langs" variables in "../../clitools/mustool.php" and "getlangid" function in "../../clitools/getinstinfo.php" $supplangs=[ /* 'ca'=>['orname'=>'CatalĂ ','trname'=>_('Catalan')],