[TIMOB-19430] Android: i18n translations CR+LF not working on 4.1
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2019-08-13T17:28:43.000+0000 |
Affected Version/s | Release 4.0.0, Release 4.1.0 |
Fix Version/s | n/a |
Components | Android |
Labels | android, i18n, localization, regression |
Reporter | Manuel Conde Vendrell |
Assignee | Unknown |
Created | 2015-08-17T12:30:44.000+0000 |
Updated | 2019-08-13T17:28:43.000+0000 |
Description
Till now (version 3.5.0GA) to do a CR+LF in alerts I was using successfully *\n\n*
Now in 4.1.1 it's not working for *Android* at least (only in translations, it works in direct tests).
To test it:
// this works
alert('Hi \n\n you');
// This works if the text id *hi* is not defined inside i18n folder,
// but is it's defined, then symply all the text appears, including \n\n
alert(L('hi', 'Hi \n\n you'));
More info after all this time. This only happens to me when I'm using Liveview (which is all the time). Without Liveview, /n works fine again. So production apps will work fine. Probably I detected this problem because from SDK 4.1 I started to use Liveview instead of TiShadow.
Unable to reproduce with 8.0.2.GA SDK.