bugXBoard - Bugs: bug #34972, Several issues regarding...

 
 

bug #34972: Several issues regarding lokalization

Submitter:  Byrial Jensen <bjensen>
Submitted:  Fri 02 Dec 2011 11:09:57 PM UTC
   
 
Category:  XBoard (X11) Severity:  3 - Normal
Item Group:  Translation Status:  Fixed
Assigned to:  apersaud Open/Closed:  Closed
Release:  git
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 03 Dec 2011 04:44:59 PM UTC, comment #5: 

done... I also did a new developer release and emailed a new pot-file to the translation project.

Arun Persaud <apersaud>
Group administrator
Sat 03 Dec 2011 12:10:17 PM UTC, comment #4: 

Just tried the new git version. Remember to update po/POTFILES.in with all source files which strings marked for translation.

Byrial Jensen <bjensen>
Group Member
Sat 03 Dec 2011 11:00:14 AM UTC, comment #3: 

Thanks, that was fast.

PGN files should not be changed. The PGN specification does not allow for that, and it would not be portable.

But I think the move notation should be changed in the Move list window and other places where a move is shown to the user. And it should also be changed for typing in the Type a move window.

Byrial Jensen <bjensen>
Group Member
Sat 03 Dec 2011 06:46:35 AM UTC, comment #2: 

I reduced the list to the following:

Hidden tags (in Game-list options)
Stalemate (one of multiple game results)
Black mates (one more of multiple game results)
Xboard adjudication: Something (multiple strings)
Everything in Engine #1/#2 Settings (Seems unfinished with dummy examples)

Direct command
Send to chess program:

first (engineNames value)
second (engineNames value)


AFAIK some of them, are loaded dynamically from the command line, such as the engine settings, for others I'm not sure if they are only used for output to the user or are used somewhere internally... I think there are some hard coded checks for the game results in there, so that will be harder to change...

As to the other points you mentioned:

> 2) The browse buttons in all windows are not resized to be able hold the translated text for the word "browse".


 I'm not sure how to check for the length of a string, but perhaps HGM can fix this (he's on vacation right now)

>3) Move notation is not translatable. The letter used for pieces in algebraic notation depends on the language.


I'm not sure if we want to change this, since the saved file should probably be in english, so that it is portable? But perhaps someone else knows more about languages in png files...
Just changing it in the output might be possible, but I think would require more changes in the code, so this will probably have to wait...

4) You use spaces in menus between menu item and the corresponding shortcut key to properly align the shortcut keys. This is next to impossible for the translators to do nicely.

yes, we know... again, I'm not sure how to do this correctly in X, but perhaps someone else does.

5) It is not a good idea to split a sentence in 2 translation units as in these 2:
"Sync after round (for concurrent playing of a single"
"Sync after cycle tourney with multiple XBoards)"

Ok. We'll see if we can think of a better way of doing this...
If you find other places where this comes up, please file a bug report again...

Arun Persaud <apersaud>
Group administrator
Fri 02 Dec 2011 11:29:28 PM UTC, comment #1: 

Getting the translation to work is a recent effort and there are probably quite a few things that are wrong in the code, so thanks for reporting these. I'll try to fix the reported issues this weekend and will send an updated pot file to the translation project.

Arun Persaud <apersaud>
Group administrator
Fri 02 Dec 2011 11:09:57 PM UTC, original submission:  

Hi,

I am translation XBoard to Danish, and have several issues to report.

I am using version 4.6.0.20111101 as found at http://translationproject.org/domain/xboard.html

1) My testing shows several untranslatable strings:

Unrecognized argument
shuffle (in File > New Shuffle Game)
randomize (in File > New Shuffle Game)
pick fixed (in File > New Shuffle Game)
Browse (title for File > Load/Save Game/Position)
Filter on extensions: (in File > Load/Save Game/Position)
OK (in File > Load/Save Game/Position)
Cancel (in File > Load/Save Game/Position)
save changes (in Edit Tags + Comment)
clear (in Edit Comment)
Polyglot book not valid
Engine (in Engine Output)
Game-list options (window title)
Hidden tags (in Game-list options)
Stalemate (one of multiple game results)
Black mates (one more of multiple game results)
Xboard adjudication: Something (multiple strings)
Everything in Engine #1/#2 Settings (Seems unfinished with dummy examples)
Tourney participants (in Match Options)
Everything in About Xboard window
Direct command
Send to chess program:
P (pause button in board window)
%s vs. %s (board title when playing)
Game list not loaded or empty
first (engineNames value)
second (engineNames value)

There may be more untranslatable strings. The strings above is just what I found in a test run.

2) The browse buttons in all windows are not resized to be able hold the translated text for the word "browse".

3) Move notation is not translatable. The letter used for pieces in algebraic notation depends on the language.

4) You use spaces in menus between menu item and the corresponding shortcut key to properly align the shortcut keys. This is next to impossible for the translators to do nicely.

5) It is not a good idea to split a sentence in 2 translation units as in these 2:
 "Sync after round    (for concurrent playing of a single"
 "Sync after cycle      tourney with multiple XBoards)"

Byrial Jensen <bjensen>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by apersaud (Posted a comment)
  • -email is unavailable- added by bjensen (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-09-29 apersaud StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2011-12-03 apersaud Item GroupNone Translation
        StatusConfirmed In Progress
        ReleaseNone git
    2011-12-02 apersaud CategoryNone XBoard (X11)
        StatusNone Confirmed
        Assigned toNone apersaud

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code