Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

[solved] Translation Bug

edited April 2014 in OpenSesame

Hi everybody.

We've just started working on a german translation for OpenSesame.

Yesterday i started a first trial with the .qm-File, but there are some issues... First of all: The translation seems to crash loop/sequence-items. A loop in an experiment (that works, when using the en_EN gui) gives back an error message: "not enough arguments for format string". Someone mentioned this problem with the chinese translation before. Can you give me some hints how to overcome this problem? I fear that i accidently translated a string defining a variable name maybe and therefor causes problems now...

Best regards
timo

Comments

  • edited April 2014

    Hi Timo,

    We've just started working on a german translation for OpenSesame.

    Thank you, that's really cool.

    A loop in an experiment (that works, when using the en_EN gui) gives back an error message: "not enough arguments for format string".

    This happens when you remove one of the wildcards from a translation. For example, if you translate ...

    Tell me more about the %s item

    ... by ...

    Vertel me meer

    ... you will get this type of error, because of the missing %s in the translation. Since this is a quite common source of problems, there's an automated validation script included with the source code (dev-scripts/check_ts.py). So if you have everything set up, you can run this script to debug your translation. Or you can commit/ send the translation file, in which case I'll fix it (it's easy), and you can continue working on the translation.

    Your contribution is much appreciated!

    Cheers,
    Sebastiaan

  • edited 2:57PM

    Consider it my way to say "Thank you" for your great work. :) But maybe we shouldn't count the eggs before the hen is born... ;)

    Thank you for your helpful answer. The wildcard problem is solved now. I'll keep testing and revising the translation and send a pull request when i'm done.

    Have a nice weekend

    timo

  • edited 2:57PM

    Hi Timo,

    I'm starting to round things up for 2.8.2, a minor bugfix release. It would be nice to include the German translation, if possible. Do you think it would be feasible to send a pull request in the next two weeks or so? Don't worry if it's not yet completely perfect, you can just continue to polish it for future releases.

    Thanks again for your contribution!

    Cheers,
    Sebastiaan

  • edited June 2014

    Hi Sebastiaan,

    Maybe the pull request via Github didn't work out, so here is a short notice: Translation is complete. Though there are some issues with it, which likewise apply to all other translations.

    Warm regards,
    timo

  • edited 2:57PM

    Hi Timo,

    I see two repositories on GitHub, researchtool/OpenSesame (i.e. a fork of the main repo) and researchtool/OpenSesame_de_DE (containing only the translation files). The latest commits are to researchtool/OpenSesame, but it looks like this repo has either been deleted or set to private. Where should I get the latest translation files from?

    Though there are some issues with it, which likewise apply to all other translations.

    Are these the issues that you filed under the issue tracker of researchtool/OpenSesame_de_DE? If they are general translation issues, please feel free to file them as issues in the main repo. (Even if you're not entirely sure whether they are really bugs. We can always close them.)

    Thanks for your effort, I'm sure we can get this into 2.8.3!

    Cheers,
    Sebastiaan

  • edited June 2014

    Hi Sebastiaan,
    Sorry for being unclear about that. I deleted the fork (which was just for testing purposes) and the recent translation files are in researchtool/OpenSesame. ;)

    Yes, the issues are general translation issues, which also appear in other translations. I'm busy the next days, but will definitely write them down and file them in your Git Repo.

    Best regards,
    timo

  • edited 2:57PM

    Hi Timo,

    Ah right, I see! Since you're working on GitHub already, perhaps you could fork OpenSesame, add resources/ts/de_DE.ts (not the .qm) and send me a pull request. That way you'll be included as a contributor, giving you a little bit of extra visible credit. But it's no problem for me to just grab the .ts from your repo and add it myself, so if you think it's a hassle then I'll do that.

    Cheers!
    Sebastiaan

  • edited 2:57PM

    okay, check. ;)

  • edited June 2014

    :) :) :)

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games