Author Topic: HOW-TO: Translating Bash Scripts  (Read 5762 times)

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3730
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: HOW-TO: Translating Bash Scripts
« Reply #15 on: October 23, 2010, 02:41:35 PM »
Is anybody working with the script?
Would you like a package for it?
Or should it delete?
Thanks for efforts...


I'm not sure how I missed this post back in August, but...

I think this would make a good addition to the pkgutils package; potential translators could download an srpm, right click to unpack, right-click to generate .po files, etc, do the translating, increment the mkrel / changelog, and repackage.  

To make it even more intuitive, perhaps we could modify the script to use zenity so that the translator could right click the spec, select translate, and the script would do the dirty work..   ..grep the spec Sources for .pot files, and maybe even search inside compressed source tars..  if found offer to create a .po file for the user's default locale (..or other locale),  use sed to update the spec file to include the newly created .po file as an additional source, and then increment the mkrel number.   Who knows, maybe we could even use zenity (..or gtkdialog) to allow them to create a translation for the spec / package descriptions and insert it into the spec with out the translator having to understand the packaging process..   when finished they could just right click, and "build all" or "build SRPM".

...just an idea..  ;)



I don't work really with pkgutils, so i must see how i can add it to the pkgutils. Maybe MBantz can help?

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: HOW-TO: Translating Bash Scripts
« Reply #16 on: October 26, 2010, 10:40:22 AM »
There have been a few of us that have worked on that package..  I would be happy to do it, but I just don't have the time right now.   


If no one else picks it up I will get to it eventually, but it won't be in the immediate future...  :-\

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3730
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: HOW-TO: Translating Bash Scripts
« Reply #17 on: October 26, 2010, 10:50:15 AM »
good to hear...
Take the time you need  ;)