You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but, the verbatim literals like below are not translated.
// in CRLF-based source code.
var translated = _("foo bar baz");
var not_traslated = _(@"
foo
bar
baz
");
The gettext tools understand only LF (without CR) I think, so built *.po and *.mo files include only LF even though with CRLF-based source codes.
and, I found this has happened because NGettext doesn't ignore CRLF and LF differences.
I know I can change all of my code to LF-based, but it may be forgotten in the future because CRLF is the default on Windows.
so, I want NGettext to ignore the differences between CRLF and LF.
Thanks.
The text was updated successfully, but these errors were encountered:
Hello.
I use NGettext with gettext on Windows.
In my project, all source codes are CRLF-based.
but, the verbatim literals like below are not translated.
The gettext tools understand only LF (without CR) I think, so built *.po and *.mo files include only LF even though with CRLF-based source codes.
and, I found this has happened because NGettext doesn't ignore CRLF and LF differences.
I know I can change all of my code to LF-based, but it may be forgotten in the future because CRLF is the default on Windows.
so, I want NGettext to ignore the differences between CRLF and LF.
Thanks.
The text was updated successfully, but these errors were encountered: