Hello,
I have a problem with the language files. when i add a translation file for german named de.php then there is a white bar at the top of my site. when i delete the file, the error disappears.
what can be the reason for this error? i am using elgg 1.8
thx for advice!!
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- rjcalifornia@rjcalifornia
rjcalifornia - 0 likes
- stoffal@stoffal81
stoffal - 0 likes
- iionly@iionly
iionly - 0 likes
- stoffal@stoffal81
stoffal - 0 likes
You must log in to post replies.Did you follow these instructions?
http://docs.elgg.org/wiki/I_don%27t_like_the_wording_of_something_in_Elgg._How_do_I_change_it%3F
Yes, i have my own plug-in and did everything right i think. Now i moved it to another plugin-in and it works, but only in firefox. in chrome it stills shows this white bar.
the url is testse.locoflirt.com
First, you seem to use some plugins (at least the bulk_image_upload plugin) that are not fully compatible with Elgg 1.8. While this might not be connected with the language file issue, this could also result in issues (not saying that there are issues is any case when using outdated plugins as some might fully work on Elgg 1.8 even if they were released for older Elgg versions originally but there could be errors).
For the language file issue it could be either a problem caused by the encoding you saved the language file in: http://docs.elgg.org/wiki/Development/Contributing/Languages.
Or it could be some invalid character used or there's a syntax error in the language file array (basically, it's a php array that you fill with the language strings).
If your language file is not too long, you could add it here or you could add it at pastebin for us to take a look at it.
I solved the problem. The coding was the problem.
I only had selected UTF-8, but in my editor i didn't had the option to deactivate BOM.
With notepad++ it's possible to select UTF-8 without BOM.
Thx for helping!