bugGNU Octave - Bugs: bug #63404, Translation files (*.ts) for...

 
 

bug #63404: Translation files (*.ts) for Octave 8.1 Release

Submitter:  Rik <rik5>
Submitted:  Tue 22 Nov 2022 08:38:31 PM UTC
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Documentation
Status:  In Progress Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * 8.0.90 Operating System:  * Any
Fixed Release:  None Planned Release:  8.1.0 (current stable)
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

( Jump to the original submission )

Mon 28 Nov 2022 09:48:52 PM UTC, comment #35: 

It's not exactly clear whether "access key", "keyboard accelerator", or "shortcut key" are different on Linux.

I found this guidance for translators of strings for Qt (https://doc.qt.io/qt-6/linguist-translators.html) which refers to "Alt Key Accelerators" and "Ctrl Key Accelerators".  In other words, Qt seems to combine both types of key combinations into "Accelerators".

Microsoft is explicit that there are "Access Keys" (https://learn.microsoft.com/en-us/windows/apps/design/input/access-keys) which use Alt and "Keyboard Accelerators" (https://learn.microsoft.com/en-us/windows/apps/design/input/keyboard-accelerators) which use Ctrl.

I don't think it would be bad to use the Microsoft terminology.  Although we still might want to substitute "keyboard shortcut" for "keyboard accelerator".

Rik <rik5>
Project Administrator
Mon 28 Nov 2022 09:39:06 PM UTC, comment #34: 

I checked in the updates to the Dutch translation file nl_DL.ts here: http://hg.savannah.gnu.org/hgweb/octave/rev/4d02a2f10fa4.

Thank you!

Rik <rik5>
Project Administrator
Mon 28 Nov 2022 09:32:33 PM UTC, comment #33: 

Dutch translation (AFAICS no more "unfinished" tags)

(file #54034)

Philip Nienhuis <philipnienhuis>
Project Member
Mon 28 Nov 2022 08:24:32 PM UTC, comment #32: 

at least in the Windows world, "access key" is the term for the underlined letters in the menu item name, while "keyboard accelerator" is synonym with "shortcut key", the combination shown to the right of the menu item:
https://stackoverflow.com/a/3021705/2103990
the terminology seems valid elsewhere:
https://docs.oracle.com/cd/E23943_01/web.1111/b31973/ap_kbd.htm#ADFUI10150
however, I could not confirm the situation in the Linux world.
not a big deal though, as long as the term "menu" appears right next to the term.

Felipe G. Nievinski <fgnievinski>
Mon 28 Nov 2022 07:47:52 PM UTC, comment #31: 

regarding the common vocabulary: The difference "shortcut" and "accelerator" is intended. In my understanding, something like "Ctrl+R" for invoking a specific action is a shortcut, whereas "Alt+R", where "R" is the highlighted character in a menu name, is an "accelerator" of this menu.

Torsten Lilge <ttl>
Project Member
Mon 28 Nov 2022 06:32:22 PM UTC, comment #30: 

I just checked how we are doing on the translation files by counting the number of translations tagged with "unfinished".

pt_BR.ts: 0
es_ES.ts: 0
zh_CN.ts: 0
de_DE.ts: 0
fr_FR.ts: 0
nl_NL.ts: 8
tr_TR.ts: 9
hu_HU.ts: 9
ru_RU.ts: 71
it_IT.ts: 147
lt_LT.ts: 212
ja_JP.ts: 213
ca_ES.ts: 318
pt_PT.ts: 402
eu_ES.ts: 492
be_BY.ts: 564
uk_UA.ts: 983

I would expect Philip to update the nl_NL.ts file.  And I think the Italian file it_IT.ts will probably be updated.  I don't know if the others will before the 8.1 release.

Rik <rik5>
Project Administrator
Mon 28 Nov 2022 06:07:17 PM UTC, comment #29: 

A common vocabulary seems like a "nice to have" rather than a "need to have" feature so I would vote to work on this on the development branch.

Rik <rik5>
Project Administrator
Mon 28 Nov 2022 06:01:38 PM UTC, comment #28: 

The changes need to be done in the C++ files. Although there is an en_US.ts file, it is just used as a template for new languages. Depending on the number of changes the language files could be updated manually afterwards in order to keep the existing translation for this "new" text string.

Should this common vocabulary should be part of the next release?

Torsten Lilge <ttl>
Project Member
Mon 28 Nov 2022 05:34:48 PM UTC, comment #27: 

I updated the original source file to refer to "magenta" rather than "pink" in this changeset: http://hg.savannah.gnu.org/hgweb/octave/rev/9e85148b9206.

Rik <rik5>
Project Administrator
Mon 28 Nov 2022 05:34:01 PM UTC, comment #26: 

I checked in updates to the Portugese translation file pt_BR.ts here: http://hg.savannah.gnu.org/hgweb/octave/rev/0df483ad4160.

Thank you!

Rik <rik5>
Project Administrator
Mon 28 Nov 2022 05:27:21 PM UTC, comment #25: 

I checked in the additional updates to the Spanish translation file es_ES.ts here: http://hg.savannah.gnu.org/hgweb/octave/rev/7701e61fbc25.

Thank you!

Rik <rik5>
Project Administrator
Mon 28 Nov 2022 05:16:35 PM UTC, comment #24: 

comment #22:

> may I suggest standardizing some terms in the future?


I think this is a good idea, i.e., a common vocabulary. 

> folders -> directories [or vice versa]
> folder -> directory [or vice versa]


I prefer directory/directories (more UNIX way of thinking).

Do the changes need to take place in the C++ code and the strings themselves?  Or is the change in the translation file such that the original string "directory" is not translated to "folder"?

> pink -> magenta


In English these two colors are entirely different.  The RGB code given is [255, 0, 255] which is magenta.  I will update the original string which is just wrong in this case.

> accelerator -> shortcut


I think "shortcut" is probably more understandable for most users.

Rik <rik5>
Project Administrator
Mon 28 Nov 2022 10:04:34 AM UTC, comment #23: 

Hi,

I attached again the Spanish translation after a revision of some terms

(file #54030)

José Luis García Pallero <jgpallero>
Mon 28 Nov 2022 04:41:33 AM UTC, comment #22: 

may I suggest standardizing some terms in the future?
folders -> directories [or vice versa]
folder -> directory [or vice versa]
pink -> magenta
accelerator -> shortcut

Felipe G. Nievinski <fgnievinski>
Mon 28 Nov 2022 04:40:33 AM UTC, comment #21: 

please find attached a patch for pt_BR.ts

(file #54029)

Felipe G. Nievinski <fgnievinski>
Sun 27 Nov 2022 06:19:37 PM UTC, comment #20: 

@Markus: a new update is not required. The translated expressions were already existing but were not triggered at runtime.

Torsten Lilge <ttl>
Project Member
Sun 27 Nov 2022 06:04:57 PM UTC, comment #19: 

@Torsten: Thanks for the fix. Do the translation files need to be re-created? Or were those strings already included but not yet used?

Markus Mützel <mmuetzel>
Project Member
Sun 27 Nov 2022 11:05:33 AM UTC, comment #18: 
Torsten Lilge <ttl>
Project Member
Sat 26 Nov 2022 09:08:55 PM UTC, comment #17: 

I updated the German translation file here:
https://hg.savannah.gnu.org/hgweb/octave/rev/d244411aaaab

Markus Mützel <mmuetzel>
Project Member
Fri 25 Nov 2022 04:53:53 PM UTC, comment #16: 

Reply to comment #14: I can confirm the issue for the french translation, so it's not related to a specific translation. I'll have a look at it.

Torsten Lilge <ttl>
Project Member
Fri 25 Nov 2022 03:35:41 PM UTC, comment #15: 

I pushed the chinese trnaslation from JunWang here:
http://hg.savannah.gnu.org/hgweb/octave/rev/fd8c0df759bb

Thanks for the contribution.

Torsten Lilge <ttl>
Project Member
Thu 24 Nov 2022 09:39:57 PM UTC, comment #14: 

Inspecting the Spanish translation I can see that the translation of the strings from octave::settings_dialog

Second color mode (light/dark)

and

&Reload default colors

and

&Reload default styles

are not substituted in the GUI. I don't know if the same occurs for the other languages. I'm running the stable branch compiled by myself this morning before I sent the es_ES updated file in order to check it

José Luis García Pallero <jgpallero>
Thu 24 Nov 2022 08:58:33 PM UTC, comment #13: 

I updated the french translation here:

https://hg.savannah.gnu.org/hgweb/octave/rev/fa254b08f949

Pantxo Diribarne <pantxo>
Project Member
Thu 24 Nov 2022 02:17:42 PM UTC, comment #12: 

@Felipe: Just to be explicit about timing.  It would be great if translation files were available by next Friday, December 2nd.  But, if the files came in within two weeks (Friday, December 9th) that will still make it into the 8.1 release.

Rik <rik5>
Project Administrator
Thu 24 Nov 2022 02:08:34 PM UTC, comment #11: 

@jgpallero: Thank you for your quick contribution. I pushed the changes with you as the author here:
https://hg.savannah.gnu.org/hgweb/octave/rev/84ac10326a79

Markus Mützel <mmuetzel>
Project Member
Thu 24 Nov 2022 01:52:21 PM UTC, comment #10: 

If I'm reading the logs correctly, there have been 2-3 weeks between the call for translations and the first release candidate in the past. Most translations have been pushed during that time. But there have been some that were pushed after the first release candidate.

We are currently planning on releasing Octave 8.1 late 2022 or early 2023. The exact date will probably depend on the number of bugs found in the release candidate(s) and how difficult they will be to fix. But we are hoping for a smooth release process this time.
Translations that are submitted after Octave 8.1 has been released will probably still be able to make it into Octave 8.2.

But if my memory serves me well, we received most feedback on the first release candidate of new major releases in the past. So, it would probably be good to have that version "as complete as possible" (including the translations).

Markus Mützel <mmuetzel>
Project Member
Thu 24 Nov 2022 01:34:38 PM UTC, comment #9: 

hi, just for planning purposes: what's the approximate closing date for this request, please?

Felipe G. Nievinski <fgnievinski>
Thu 24 Nov 2022 01:29:51 PM UTC, comment #8: 

Attached I send the es_ES updated file

(file #54009)

José Luis García Pallero <jgpallero>
Thu 24 Nov 2022 09:04:05 AM UTC, comment #7: 

I send an email similar to the one Torsten sent last year to the translators here:
https://lists.gnu.org/archive/html/octave-maintainers/2022-11/msg00004.html

Markus Mützel <mmuetzel>
Project Member
Thu 24 Nov 2022 08:42:52 AM UTC, comment #6: 

I also created a topic on the discourse forum here to reach out to translators:
https://octave.discourse.group/t/call-for-translations-for-octave-8/3617

I don't know if all translators are on the discourse forum, too. And I was only able to find the users names for a couple of them.
We should probably also reach out to them via email (like we did in the past).

Markus Mützel <mmuetzel>
Project Member
Thu 24 Nov 2022 05:57:41 AM UTC, comment #5: 

I have updated the language files with changeset http://hg.savannah.gnu.org/hgweb/octave/rev/76140113e6cc

A patch with the required files and some documentation will follow.

Torsten Lilge <ttl>
Project Member
Wed 23 Nov 2022 08:22:45 PM UTC, comment #4: 

comment #3:

> I will update the language files (on the stable branch, right?). Is there a good location where to put the information and related files?


Yes, all work is being done on the stable branch.

I would make a new directory 'libgui/languages/build_ts' and add any scripts and additional material there.

Rik <rik5>
Project Administrator
Wed 23 Nov 2022 07:50:29 PM UTC, comment #3: 

I will update the language files (on the stable branch, right?). Is there a good location where to put the information and related files?

Torsten Lilge <ttl>
Project Member
Wed 23 Nov 2022 07:32:53 PM UTC, comment #2: 

@Torsten: They have not been updated.  We definitely need to do that before we contact translators.  Yesterday at the Octave developer's meeting we also talked about making the release procedures reproducible.  Part of this is checking any scripts we use into Mercurial.  Second part is documenting what we do so any developer could step in and perform the task.

I think for Octave 8 that would be a good goal.  I seem to have a script for generating language files and two archive files (octave-qt.tar.gz, qsci.tar.gz) that I got from you back in February 2020.  Have there been any updates?  Actually, there have to have been because the script opens with

QT_LANG_DIR=/usr/share/qt4/translations

and we no longer support Qt4.

Easiest thing would be for you to generate the .ts files again for the 8.1 release, and record the process and any inputs you use.

If you are very much too busy this year then I can try to do it, but I will need to ask you questions along the way.

Rik <rik5>
Project Administrator
Wed 23 Nov 2022 07:15:36 PM UTC, comment #1: 

@Rik: Are the language files already updated with the latest strings from the source files? Sorry, I am currently quite busy and am not able to follow the development in real-time.

Torsten Lilge <ttl>
Project Member
Tue 22 Nov 2022 08:38:31 PM UTC, original submission:  

This issue report is dedicated to the translation files for the Octave 8.1 Release.

When translators finish updating the language files for the 8.1 release please upload them to this issue report.

The Octave Maintainers will then download the files, place them under version control, and incorporate them into the 8.1 release.

Rik <rik5>
Project Administrator

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #54034:  dutch_translation_oct8.cset added by philipnienhuis (4KiB - application/octet-stream)
file #54030:  es_ES.ts added by jgpallero (168KiB - video/mpeg)
file #54029:  pt_BR.ts.diff added by fgnievinski (27KiB - application/octet-stream)
file #54015:  zh_CN.ts added by junwang (182KiB - text/plain - Updated zh_CN translation file.)
file #54009:  es_ES.ts added by jgpallero (168KiB - video/mpeg)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by junwang (Updated the item)
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by fgnievinski (Posted a comment)
  • -email is unavailable- added by jgpallero (Updated the item)
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by rik5 (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 project members can vote.

     

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-11-28 philipnienhuis Attached File- Added dutch_translation_oct8.cset, #54034
    2022-11-28 jgpallero Attached File- Added es_ES.ts, #54030
    2022-11-28 fgnievinski Attached File- Added pt_BR.ts.diff, #54029
    2022-11-25 junwang Attached File- Added zh_CN.ts, #54015
    2022-11-24 jgpallero Attached File- Added es_ES.ts, #54009
    2022-11-24 mmuetzel Planned ReleaseNone 8.1.0 (current stable)

    Back to the top


    Powered by Savane 3.9