lange
08-15-2019, 03:44 PM
For a clean/fresh install of vB 3.8.11 only.
Take a look at https://forum.vbulletin.com/forum/customizing-vbulletin/vbulletin-languages-phrases/251037-importing-utf-8-languages.
I am not a coder so use the procedure at your own risk but it works fine on my custom 3.8.11 (and on my previous vB versions).
.
--------------- Added 15 Aug 2019 at 23:55 ---------------
For the details.
Test the following procedure on a fresh vb3.8.11 install :
1) In your XML language file, replace the two ISO parameters by the following code:
<?xml version="1.0" encoding="UTF-8"?>
<charset><![CDATA[UTF-8]]></charset>
2) Save in UTF-8 (be sure to save in UTF-8, I used Beyond Compare tool to do it)
3) Import and overwrite your new language XML file in AdminCP
4) Change the HTML Character Set at UTF-8 for the languages and by example set fr-FR as Language Code in the other language if your first language is French
5) In the file includes/class_xml.php, replace the code:
function &parse($encoding = 'ISO-8859-1', $emptydata = true)by the following code:
function &parse($encoding = 'UTF-8', $emptydata = true)It works fine on my custom vB 3.8.11 (and my previous vB3.8.x versions).
For the record, I used the UTF-8 to keep the french vBulletin accents in a UTF8 WordPress blog via an old WordPress-vBulletin bridge.
Take a look at https://forum.vbulletin.com/forum/customizing-vbulletin/vbulletin-languages-phrases/251037-importing-utf-8-languages.
I am not a coder so use the procedure at your own risk but it works fine on my custom 3.8.11 (and on my previous vB versions).
.
--------------- Added 15 Aug 2019 at 23:55 ---------------
For the details.
Test the following procedure on a fresh vb3.8.11 install :
1) In your XML language file, replace the two ISO parameters by the following code:
<?xml version="1.0" encoding="UTF-8"?>
<charset><![CDATA[UTF-8]]></charset>
2) Save in UTF-8 (be sure to save in UTF-8, I used Beyond Compare tool to do it)
3) Import and overwrite your new language XML file in AdminCP
4) Change the HTML Character Set at UTF-8 for the languages and by example set fr-FR as Language Code in the other language if your first language is French
5) In the file includes/class_xml.php, replace the code:
function &parse($encoding = 'ISO-8859-1', $emptydata = true)by the following code:
function &parse($encoding = 'UTF-8', $emptydata = true)It works fine on my custom vB 3.8.11 (and my previous vB3.8.x versions).
For the record, I used the UTF-8 to keep the french vBulletin accents in a UTF8 WordPress blog via an old WordPress-vBulletin bridge.