My favorites | Sign in
Project Logo
       
New issue | Search
for
| Advanced search | Search tips
Issue 14: Plural forms are not saved correctly in the mo file
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  izimobil
Closed:  Jun 05
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by lorenzo.gil.sanchez, Apr 22, 2009
What steps will reproduce the problem?
1. Pick up a po file with plural forms
2. Do a po.save_as_mofile('file.mo')

What is the expected output? What do you see instead?

In the application the plural forms should be translated

What version of the product are you using? On what operating system?

In the application the plural forms are never translated

Please provide any additional information below.

The problem is in the _BaseFile.to_binary method that does not handle the
plural forms.

I'll attach a patch that fix this issue
compile-plural-messages.diff
1003 bytes   Download
Comment 1 by izimobil, Apr 27, 2009
Hi Lorenzo,
thanks for your patch, I'll commit it very soon and it will be in the next release.

-- 
David
Status: Accepted
Owner: izimobil
Comment 2 by izimobil, Jun 05, 2009
(No comment was entered for this change.)
Status: Fixed
Sign in to add a comment

Hosted by Google Code