-
calvin_42 posted on the forum topic Strings containing new lines like emails content are not translated in the group How-To and Troubleshooting: 13 years, 5 months ago
Thanks for the feedback. I didn’t found an existing ticket, so I’ve created #2703 (https://trac.buddypress.org/ticket/2703).
-
calvin_42 posted on the forum topic Notification messages are only partly translated in the group Localization: 13 years, 5 months ago
The problem is related to actual new lines instead of antislash-n.
See https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/strings-containing-new-lines-like-emails-content-are-not-translated/ for more explanation.
-
calvin_42 joined the group Localization 13 years, 5 months ago
-
calvin_42 posted on the forum topic Use of date_i18n instead of date in bp_format_time ? in the group How-To and Troubleshooting: 13 years, 5 months ago
Yeah I just wanted to be sure the regression was real before reopening the ticket. Thanks. 😉
ps : could you check my previous post which has still no answers ? See https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/strings-containing-new-lines-like-emails-content-are-not-translated/. Thanks.
-
calvin_42 started the forum topic Use of date_i18n instead of date in bp_format_time ? in the group How-To and Troubleshooting: 13 years, 5 months ago
Hi!
The ticket #845 (https://trac.buddypress.org/ticket/845) has been closed but the core templatetag function bp_format_time still uses “date” instead of “date_i18n”. How to use then internationalization ?
Thanks
-
calvin_42 posted on the forum topic Strings containing new lines like emails content are not translated in the group How-To and Troubleshooting: 13 years, 5 months ago
Up!
Any idea ?
-
calvin_42 started the forum topic Strings containing new lines like emails content are not translated in the group How-To and Troubleshooting: 13 years, 5 months ago
Hi there! (note : backslashes are removed on the forum, so “n” is “backslash-n”) I have a problem concerning the translation using the po/mo files. Everything works fine except for the emails content because of the new lines. Not the \n new line, but real new lines in code, as for example the file bp-groups-notifications.php:21 […]
-
calvin_42 joined the group How-To and Troubleshooting 13 years, 5 months ago
-
calvin_42 posted a new activity comment 13 years, 7 months ago
Yes I’ve got the same error. Matthew you need to replace all the ”<?" entries by "<?php" in your plugin.
Cheers,
Aymeric-
Bingo! I hadn’t even noticed the short tags. I changed them all and now it’s working fine.
I got out of the habit of using those a long time ago. It’s a PITA when you move to a server with short tags disabled. I’m glad they’re being removed from the next version of PHP.-
Hello everyone.
I have updated the plugin to 1.1.1 and changed the <? to <?php i have never used a server without shortags and got sloppy i guess. thanks for the heads up. once you see the new version number on here or if your wordpress install lets you know, please update and tell me if it fixes your issues
thanks again
Matt
-
-
@calvin_42
Not recently active