It is currently Wed Jun 19, 2013 8:18 am


Latest GIMP Scripts & Plug-ins

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: I would like to translate Layerfx.scm into german
PostPosted: Mon Oct 29, 2012 9:12 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 1899
Location: Germany - NRW
did a google search but couldnt find a german version of Layerfx
there is a website that explains every feature of layerfx in german, but i would love to have a translated version

i just had a look at the script in my editor program, but was overwhelmed by all the entries - what parts do i need to translate into german and which not ?

EDIT: also, some of the entries are already translated into my language, i guess thats because my GIMP version is in german, but why is it, that only some of the words are translated

for example in the layermodes entry, only the mode color is translated into german - all the others are still in english...

_________________
gimp-science-labs


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Profile  
 

 Post subject: Re: I would like to translate Layerfx.scm into german
PostPosted: Tue Oct 30, 2012 5:11 am  (#2) 
Offline
Gimp Scripts Editor
User avatar

Joined: Jun 22, 2010
Posts: 599
Location: Here and there
guten Morgen

Just as an aside, it's helpful when making requests about specific scripts that you can point to a source for that script just so we avoid talking about different versions.

So I'm taking the GimpScripts Script-Fu version http://gimpscripts.com/2011/10/gimp-layer-effects/# as the example.

You'll find a number of script-fu-register blocks at the end of the file. These are where the user interface is defined. Here's an example:
(script-fu-register "script-fu-layerfx-drop-shadow"
          _"<Image>/Script-Fu/Layer Effects/_Drop Shadow..."
          "Adds a drop shadow to a layer."
          "Jonathan Stipe <JonStipe@prodigy.net>"
          "Jonathan Stipe"
          "January 2008"
          "RGBA, GRAYA"
          SF-IMAGE      "Image"            0
          SF-DRAWABLE      "Drawable"         0
          SF-COLOR      _"Color"         '(0 0 0)
          SF-ADJUSTMENT   "Opacity"         '(75 0 100 1 10 1 0)
          SF-OPTION      "Contour"         '("Linear" "Cone" "Cone - Inverted" "Cove - Deep" "Cove-Shallow" "Gaussian" "Half Round" "Ring" "Ring - Double" "Rolling Slope - Descending" "Rounded Steps" "Sawtooth 1")
          SF-ADJUSTMENT   "Noise"            '(0 0 100 1 10 1 0)
          SF-OPTION      "Blending Mode"         '("Normal" "Dissolve" "Multiply" "Divide" "Screen" "Overlay" "Dodge" "Burn" "Hard Light" "Soft Light" "Grain Extract" "Grain Merge" "Difference" "Addition" "Subtract" "Darken Only" "Lighten Only" "Hue" "Saturation" "Color" "Value")
          SF-ADJUSTMENT   "Spread"         '(0 0 100 1 10 1 0)
          SF-ADJUSTMENT   "Size"            '(5 0 250 1 10 1 1)
          SF-ADJUSTMENT   "Offset Angle"         '(120 -180 180 1 10 1 0)
          SF-ADJUSTMENT   "Offset Distance"      '(5 0 30000 1 10 1 1)
          SF-TOGGLE      "Layer knocks out Drop Shadow"   FALSE
          SF-TOGGLE      "Merge with layer"      FALSE)


Picking out one line in particular
          SF-COLOR      _"Color"         '(0 0 0)


You see that the string "Color" is prefixed with an underscore. This tells translators that this string can be translated. For scripts I don't know when this translation takes place, but you could start by inserting underscores before all these strings and seeing which ones already have translations.

I would expect words like Opacity and Noise to already have a translation. If this doesn't work and for the other strings, you can just change them to Deutsch yourself.

Taking part of another line from the code above:
          SF-OPTION      "Blending Mode"         '("Normal" "Dissolve" "Multiply" "Divide" ....


You can force translation of the layer mode strings as well:-
          SF-OPTION      _"Blending Mode"         '(_"Normal" _"Dissolve" _"Multiply" _"Divide"


Kevin

Edit:
I've been rummaging around and found the source of the German translation file: http://git.gnome.org/browse/gimp/tree/p ... 49242b7644
Which tells me the German translation of Opacity is Deckkraft


Top
 Profile  
 
 Post subject: Re: I would like to translate Layerfx.scm into german
PostPosted: Tue Oct 30, 2012 10:03 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 1899
Location: Germany - NRW
paynekj wrote:
guten Morgen

Just as an aside, it's helpful when making requests about specific scripts that you can point to a source for that script just so we avoid talking about different versions.
Hallo Kevin !

apologies for not linking to a source, i didnt even think about it, as it was natural for me to download the layerfx script from the registry, will do it next time, promise :)
http://registry.gimp.org/node/186

the information you posted looks really helpful, i will see what i can do with it

thank you !

EDIT: im getting there, but now i have the problem that Gimp does not display german "Umlaute"
for example, i translated 'bevel & emboss' as 'Abschrägen & Prägen'
but the 'ä' doesnt turn up (and Gimp does display Umlaute in other entries)
so what it shows is 'Abschrgen & Prgen'
why is that ?

_________________
gimp-science-labs


Top
 Profile  
 
 Post subject: Re: I would like to translate Layerfx.scm into german
PostPosted: Tue Oct 30, 2012 1:20 pm  (#4) 
Offline
GimpChat Member

Joined: Feb 22, 2012
Posts: 169
Location: Germany
Your script file isn't formatted in UTF-8 coding.
I use pspad for that kind of job.
I see no way for an external (intl.dll) translation, because there is only one
translating file gimp20-script-fu.mo for all scripts, so you would have to
get all translatable strings from your script(s) with xgettext and then merge
the translations to gimp20-script-fu.mo.
But don't ask me how to do, I don't know...


Top
 Profile  
 
 Post subject: Re: I would like to translate Layerfx.scm into german
PostPosted: Tue Oct 30, 2012 1:38 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 1899
Location: Germany - NRW
i have no idea what you are talking about Onkel Hatti, minus the UTF-8 coding
im almost done - will post the translated script soon

_________________
gimp-science-labs


Top
 Profile  
 
 Post subject: Re: I would like to translate Layerfx.scm into german
PostPosted: Tue Oct 30, 2012 1:48 pm  (#6) 
Offline
Gimp Scripts Editor
User avatar

Joined: Jun 22, 2010
Posts: 599
Location: Here and there
Onkel Hatti is talking about the official way to get translations included, see the Wikipedia page for gettext: http://en.wikipedia.org/wiki/Gettext

but that's only really practical for the scripts that come with the official GIMP distribution.

Kevin


Top
 Profile  
 
 Post subject: Re: I would like to translate Layerfx.scm into german
PostPosted: Tue Oct 30, 2012 3:38 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 1899
Location: Germany - NRW
its finished

comments and suggestions welcome

_________________
gimp-science-labs


Last edited by Esper on Thu Nov 01, 2012 5:54 pm, edited 1 time in total.

Top
 Profile  
 

 Post subject: Re: I would like to translate Layerfx.scm into german
PostPosted: Thu Nov 01, 2012 5:53 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 1899
Location: Germany - NRW
uploaded a revised version

and here is the glossary i used:

Altitude – Höhe
Bevel - Abschrägen
Blend Mode – Modus (in Photoshop: Füllmethode)
Centre – Mitte
Choke – Unterfüllen
Color Overlay – Farbüberlagerung
Contour – Kontur
Depth - Tiefe
Edge – Kante
Emboss – Prägen
Gradient Type – Form
Gradient Width - Farbverlaufsbreite
Inner Glow – Inneres Leuchten
Layer knocks out Drop Shadow – Ebene frisst Schlagschatten
Merge with layer – mit Ebene vereinen
Noise – Rauschen
Offset Angle – Versatz Winkel
Offset Distance – Versatz
Outer Bevel – Abschrägung nach Außen
Outer Glow – Äußeres Leuchten
Pillow Emboss – Relief an allen Kanten
Repeat – Wiederholung
Reverse - Umkehren
Sawtooth Wave – Sägezahnwelle
Source - Quelle
Spread - Überfüllen
Stroke – Nachzeichnen
Style - Art
Triangular Wave – Dreieckswelle

Ebenenmodi:
_"Normal" _"Vernichtend" _"Nur Aufhellen" _"Bildschirm" _"Abwedeln" _"Addition" _"Nur Abdunkeln" _"Multiplikation" _"Nachbelichten" _"Überlagern" _"Weiche Kanten" _"Harte Kanten" _"Unterschied" _"Abziehen" _"Faser extrahieren" _"Faser mischen" _"Division" _"Farbton" _"Sättigung" _"Farbe" _"Wert"

Kontur:
_"Linear" _"Kegel" _"Kegel - invertiert" _"Einbuchtung - tief"
_"Einbuchtung - schwach" _"Gausssche Verteilung" _"Halbrund" _"Ring" _"Doppelring" _"Hügelig absteigend" _"abgerundete Stufen" _"Sägezahn1"

Form (Farbverlauf):
_"Linear" _"Bi-linear" _"Kreisförmig" _"Quadratisch" _"Konisch (sym)" _" Konisch (asym)" _"Formangepasst (winklig)" _" Formangepasst (spärisch)" _" Formangepasst (dimpled)" _"Spirale (rechtsdrehend)" _"Spirale (linksdrehend)"


Attachments:
Layer Effects deutsch V3.scm [56.95 KiB]
Downloaded 17 times

_________________
gimp-science-labs
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: sallyanne and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

* Login  

* Subscribe to Gimp Chat's RSS Feed    * Subscribe to Gimp Chat's Tutorial RSS Feed


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group