Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: stephen noble on February 03, 2008, 05:35:51 PM

Title: Shell script needed
Post by: stephen noble on February 03, 2008, 05:35:51 PM
Normando and I are working on moving translations to a web based translation tool

We could use some help writing a shell script, details here

http://wiki.contribs.org/Talk:Pootle#newpomerge (http://wiki.contribs.org/Talk:Pootle#newpomerge)

feel free to tighten up the other scripts

Thanks
Stephen
Title: Re: Shell script needed
Post by: wellsi on February 05, 2008, 10:39:11 PM
Stephen,

did anybody volunteer to help on this?

I briefly looked at the link, and then at one .po file and it was not clear to me exactly what is required.
i.e.
would each file have exactly the same number of headings like #: functions/useraccounts:33(trans)
Is the text always on one line? in one .po file I saw multilines something like (from memory)
msgid ""
"Create or"
" modify"

Does the script need to operate in UTF8?

It would help if two example files were available as there are probably other gotchas as well.

Hopefully someone has already helped you, but if not maybe it is due to similar uncertainties as above.
Title: Re: Shell script needed
Post by: CharlieBrady on February 06, 2008, 12:35:07 AM
Normando and I are working on moving translations to a web based translation tool

We could use some help writing a shell script, details here

http://wiki.contribs.org/Talk:Pootle#newpomerge (http://wiki.contribs.org/Talk:Pootle#newpomerge)

Please create a bug in the bug tracker for this. Neither wiki nor forum is a good tool for reviewing and discussing work items or problems. Bug tracker is better.
Title: Re: Shell script needed
Post by: stephen noble on February 06, 2008, 11:24:27 AM
Normando found the fix today, thanks Ian