Added info about the necessity to also add the corresponding locale to the system when adding a language code

This commit is contained in:
pezcurrel 2023-12-29 10:33:53 +01:00
parent 93eba38b45
commit 2b0561c3e2

View file

@ -1,6 +1,6 @@
<?php
// when adding a language code here, it is necessary to add it to the "localemap" function in localemap.php, and to add it to "langs" variable in "../../clitools/updtrans.bash" (if missing), and to run "../../clitools/addlang.php <new language code>" 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 <new language code>" 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')],