SMF icon indicating copy to clipboard operation
SMF copied to clipboard

RTL Crowdin issue

Open jdarwood007 opened this issue 3 years ago • 0 comments

Crowdin does not support boolean in the language strings. So this code here has issues:

// Character set and right to left?
$txt['lang_rtl'] = false;

Crowdin wants to make it a string of 'false'.

We can use '0' and '1' as PHP loosely will handle making these false/true. But we need to test that using it like this doesn't affect any other code where the conversion happens and if needed, add fixes.

We can have the build script for the download language packs move this back to false/true as well. But having it able to be supported here works better for translators needing to test language files directly from Crowdin.

jdarwood007 avatar Aug 15 '22 13:08 jdarwood007