Author Topic: Code::Blocks' translation  (Read 489137 times)

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1201
Re: Code::Blocks' translation
« Reply #255 on: November 14, 2022, 01:49:50 pm »
I have just deleted from Launchpad's queue the file es.po I uploaded, it was approved but had an unknown-purpose yellow icon. I hope this unlocks the queue.

Offline gd_on

  • Lives here!
  • ****
  • Posts: 766
Re: Code::Blocks' translation
« Reply #256 on: November 14, 2022, 01:56:34 pm »
Probably not.
I tried the same thing for several days without success.
On their site there are several claims about problems to upload or download files (see https://launchpad.net/launchpad). So, there is a problem obviously on their side.
gd_on
Windows 10 64 bits (22H2), svn C::B (last version or almost!), wxWidgets 3.2.1, Msys2 Compilers 12.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1201
Re: Code::Blocks' translation
« Reply #257 on: November 14, 2022, 04:08:11 pm »
Your files have been imported.

Offline sodev

  • Regular
  • ***
  • Posts: 470
Re: Code::Blocks' translation
« Reply #258 on: November 14, 2022, 05:55:37 pm »
If you need to extract translatable string with gettext from xml files, you can use its ITS support to do so https://www.gnu.org/software/gettext/manual/html_node/Preparing-ITS-Rules.html. This might be easier than parsing the XML yourself.

Offline gd_on

  • Lives here!
  • ****
  • Posts: 766
Re: Code::Blocks' translation
« Reply #259 on: November 14, 2022, 06:35:46 pm »
It's better, but launchpad is still not stable: many time-out, transfer failed ...
We have to wait a moment ...
gd_on
Windows 10 64 bits (22H2), svn C::B (last version or almost!), wxWidgets 3.2.1, Msys2 Compilers 12.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline gd_on

  • Lives here!
  • ****
  • Posts: 766
Re: Code::Blocks' translation
« Reply #260 on: November 15, 2022, 10:24:51 am »
Launchpad is alive...
New strings introduced. Extracting tool slightly updated (see previous post, same link).

Note 1: it's possible to download a raw .po file (without any translations). You need to be connected to a launchpad account (an Ubuntu one)
Go to Translations, click on codeblocks-gd series under All translatable series, then (eventually on Full list of templates, if you have it) and/or on Download.
In the 1rst case, you can choose which file you want, template alone, .po files... via a checkboxes dialog;
In the second case, you'll have a full download (template + all translations).
Then request a download and wait a mail when your generated file is ready.

Note 2: If you upload an updated translation file, you can follow the import queue. Eventually click on the left on the small ! in a yellow cercle beside the name of your translation, verify that boxes contain correct values (language and template), then approve it. Your file will change it's status form "Need review" to "Approved". Of course, I can do this for you...


« Last Edit: November 15, 2022, 10:45:30 am by gd_on »
Windows 10 64 bits (22H2), svn C::B (last version or almost!), wxWidgets 3.2.1, Msys2 Compilers 12.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1201
Re: Code::Blocks' translation
« Reply #261 on: November 19, 2022, 01:20:53 pm »
The Note 2 part does not work for me, the file has a Needs Review tag, but I only can change the status to Deleted.

Offline gd_on

  • Lives here!
  • ****
  • Posts: 766
Re: Code::Blocks' translation
« Reply #262 on: November 19, 2022, 02:18:12 pm »
May that's because you need, in the codeblocks-gd import queue, click on the left ! mark, under es.po ... and in the template box choose "all-codeblocks" and not "(nothing selected)".
Then, you can approve it.
I have done this for you.
Windows 10 64 bits (22H2), svn C::B (last version or almost!), wxWidgets 3.2.1, Msys2 Compilers 12.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline gd_on

  • Lives here!
  • ****
  • Posts: 766
Re: Code::Blocks' translation
« Reply #263 on: November 25, 2022, 04:23:00 pm »
Translation files (template an french translation) on Lanchpad have been updated to svn 13067 (see https://launchpad.net/codeblocks-gd)
I have also created a git repository where my string extraction tools are now deposited. It's https://github.com/gerard-durand/codeblocks_gd_extract_tools
Windows 10 64 bits (22H2), svn C::B (last version or almost!), wxWidgets 3.2.1, Msys2 Compilers 12.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).