Part of lp.translations.scripts
Function | get_mapping_for_pofile_plurals | Check if POFile plural forms need fixing. |
Function | fix_pofile_plurals | Fix plural translations for PO files with mismatching headers. |
Function | fix_plurals_in_all_pofiles | Go through all PO files and fix plural forms if needed. |
Return a mapping if a plural form expression in PO file header doesn't
match expected plural form expression for pofile.language
, otherwise
return False.