Koozali.org: home of the SME Server

Shell script needed

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
Shell script needed
« 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

feel free to tighten up the other scripts

Thanks
Stephen

Offline wellsi

  • *
  • 475
  • +0/-0
    • http://www.wellsi.com
Re: Shell script needed
« Reply #1 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.
............

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Shell script needed
« Reply #2 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

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.

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
Re: Shell script needed
« Reply #3 on: February 06, 2008, 11:24:27 AM »
Normando found the fix today, thanks Ian