[zanata-users] Questions around setting up zanata using the python clients
Sean Flanigan
sflaniga at redhat.com
Thu Jun 2 01:07:59 UTC 2011
On 06/01/2011 10:37 PM, Bryan Kearney wrote:
> On 05/31/2011 10:25 PM, James Ni wrote:
>> ----- Original Message -----
>>> On 05/27/2011 11:09 PM, Bryan Kearney wrote:
>>>> This will have a couple of things.. sorry about combining the
>>>> issues:
>>>>
>>>> 1) Can you please update the unoffical rpms with an F14? Thanks!
>>>
>>> Sorry, can you reword that please?
>>>
>>> Oh, do you mean these?
>>>
>>> http://jamesni.fedorapeople.org/zanata-python-client/
>>>
>>> James?
>>
>> Yeah, I will update it. these packages are old and not include the make file.
>
> Thanks!
>
>>
>>>> 2) I tried doing a make install from the code. Opened bug
>>>> https://bugzilla.redhat.com/show_bug.cgi?id=708363
>>
>> I have commit a change for Make file and comment on this bug. Could you help to verify that?
>
> I cleaned out the zanata directory in the /usr/lib/python2.7/sitpackages
> and did another make install. It worked.. so I think this is ok. A nice
> ot have would be a make clean.
Yeah, I suggest we have "make uninstall" (removes
/usr/lib/python2.*/site-packages/zanata*) and "make clean" (removes temp
files from the build directory, or runs setup.py clean)
>>>> 3) I have set up a new project. The project file is attached. My
>>>> directory structure is flat.. it has the following in one directory:
>>>>
>>>> as.po
>>>> de.po
>>>> fr.po
>>>> hi.po
>>>> ja.po
>>>> kn.po
>>>> ml.po
>>>> or.po
>>>> pt.po
>>>> ta.po
>>>> zanata.xml
>>>> zh_TW.po
>>>> bn.po
>>>> es.po
>>>> gu.po
>>>> it.po
>>>> keys.pot
>>>> ko.po
>>>> mr.po
>>>> pa.po
>>>> ru.po
>>>> te.po
>>>> zh_CN.po
>>>>
>>>>
>>>> I would like to push my po files and my pot up to the server. I am
>>>> running
>>>>
>>>> zanata po push --srcdir .
>>>>
>>>> and getting the following. Any ideas?
>>
>> I should sorry for this, i want to clean the code and rename a variable, but forget to make sure that all places have changed.
>> I make a commit abb70c2 for this issue, please check out the latest version to test it.
>>
>
> So.. I tested the latest, and it uploaded my keys.pot file. However...
> it did not upload any of the po files. Given the directory structure
> above, how do I do that?
Use --import-po
It's best not to import PO files over and over, so it's not the default.
> BTW>. what is the difference between --srcdir and --dir?
IIRC, --dir sets both --srcdir and --transdir
James, I noticed that the new "po" commands don't recognise -h, and
--dir is not listed in the help output for po push.
--
Sean Flanigan
Senior Software Engineer
Engineering - Internationalisation
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/zanata-users/attachments/20110602/e79ecb33/attachment.sig>
More information about the zanata-users
mailing list