alliedmodders / amxmodx

AMX Mod X - Half-Life 1 Scripting and Administration
http://www.amxmodx.org/
478 stars 198 forks source link

Multiline translation show as ML_NOTFOUND #1069

Open justgo97 opened 1 year ago

justgo97 commented 1 year ago

Help us help you

Environment

Description

Multiline translation show as ML_NOTFOUND, this issue didn't exist back in amx 1.8.2 so something must have changed in the code that handle lang files to cause this issue

Problematic Code (or Steps to Reproduce)

Just load any lang file with a multi line and try to read it

example here: https://forums.alliedmods.net/showthread.php?t=324405

Logs

SmileYzn commented 1 year ago

Check If text file is in same codepage of any default amxx translation file.

Like UTF8 without BOM

djearthquake commented 1 year ago

Example of how to update your language file when not using Amxx 182.