Closed yuretzru closed 8 years ago
Thanks for the report @yuretzru!
GNU gettext specification: https://www.gnu.org/savannah-checkouts/gnu/gettext/manual/html_node/Header-Entry.html
Some locales don't have an ISO 639 1 code but based on https://www.gnu.org/savannah-checkouts/gnu/gettext/manual/html_node/Language-Codes.html#Language-Codes three letter codes are supported as well.
Hi Dominik! You are right, my code is incorrect. But the tag "Language" is very necessary for me :) Culd you add it?
@yuretzru grab this format_pomo.php and see if it does what you need.
Yes!!! Thank you Greg!!!!!
Exported po-files incompatible with some libraries. meta Language needed. You can easy fix it.
file: gp-includes/formats/format_pomo.php
add at line: 20
$po->set_header( 'Language', $locale->lang_code_iso_639_1 );
result: