Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
By knalstaaf on
It seems like my installation doesn't allow my .po file to be imported.
Everytime I try to import a .po file I'm getting the following error:
The translation file [some_language.po] appears to have a missing or malformed header.
What kind of header is it referring to? My .po file simply consists of strings, nothing more:
msgid "My Settings"
msgstr "Meine Einstellungen"
msgid "Logout"
msgstr "Ausloggen"
I've checked if safe mode was on, but this isn't the case (so this is ok). My memory_limit
is set to 128M (which should be more than enough).
Comments
Solution
This block of code (the very "header") at the top is mandatory (you can copy-paste and modify this):