I have translated the admin part of the Chinese language pack for 1.8.
Here is how I did this, give the following command to chatgpt:
Generate a Chinese language pack based on the following English language pack:
<?php
/***************************************************************************
*
* OUGC Custom Language plugin (/inc/languages/english/ougc_customlang.lang.php)
* Author: Omar Gonzalez
* Copyright: © 2012 - 2020 Omar Gonzalez
*
* Website: https://ougc.network
*
* Loads a custom language file that is not overwritten during core upgrades.
*
***************************************************************************
****************************************************************************
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
****************************************************************************/
$l['ougc_customlang'] = 'OUGC Custom Language';
$l['ougc_customlang_desc'] = 'Loads a custom language file that is not overwritten during core upgrades.';
//$l['myphrase'] = 'My phrase.';
//Now paste {$lang->myphrase} in almost any template.
Here is how I did this, give the following command to chatgpt:
Generate a Chinese language pack based on the following English language pack:
<?php
/***************************************************************************
*
* OUGC Custom Language plugin (/inc/languages/english/ougc_customlang.lang.php)
* Author: Omar Gonzalez
* Copyright: © 2012 - 2020 Omar Gonzalez
*
* Website: https://ougc.network
*
* Loads a custom language file that is not overwritten during core upgrades.
*
***************************************************************************
****************************************************************************
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
****************************************************************************/
$l['ougc_customlang'] = 'OUGC Custom Language';
$l['ougc_customlang_desc'] = 'Loads a custom language file that is not overwritten during core upgrades.';
//$l['myphrase'] = 'My phrase.';
//Now paste {$lang->myphrase} in almost any template.