Pascal Georges wrote:

Hi!

 > What do you mean by NLS ?

National Language Support aka i18n.

 > If it is L8N, then there exists some utilities
 > to help synchronize files in scid/tcl/lang.
 > First checklangs.tcl will verify that tokens are present in all
 > languages. The problem with Scid is that it does not use standard Tcl
 > API  for translations (I use msgcat in Scid Pocket which is far easier
 > and less error prone). In Scid if a token is not present in a single
 > file, it will crash at startup.

Funny...

 > So to add a new token, simply enter it in english.tcl file and issue
 > ./propagatelang.tcl and ./rename.sh. Then all files will contain the new
 > token with a comment like "#TODO to be translated", so translators can
 > easily spot changes.

Ic. Thanks for this pointer.

 > Those tools are not perfect and may break if adjacent translations are
 > on multiple lines (I know I should have handled those cases), but til
 > now they helped me a lot.

I can put everything in a single line, that's no problem.
Just :set tw=0.

But tell me: What do I get then? A normal variable that I
can insert somewhere? And how is this short status bar help
related? I do not really understand those language files.

 > Of course after modifying any Tcl file, a build is necessary.

Sure. As far as I implement NLS I have to bake my code into
scid, that is what I got. Right now I've a nice little
"plugin"-style module, but this will not possible anymore
then.

How about the online Help? What do I need to do to add a
help support? (F1-Help, ie. the long one.)

-- 

Kind regards,                /                 War is Peace.
                             |            Freedom is Slavery.
Alexander Wagner            |         Ignorance is Strength.
                             |
                             | Theory     : G. Orwell, "1984"
                            /  In practice:   USA, since 2001

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to