brummer10 / gxtuner

A simple (linux) guitar tuner for jack
GNU General Public License v2.0
10 stars 3 forks source link

i18n #6

Open trebmuh opened 6 years ago

trebmuh commented 6 years ago

I'm patching against the sources to maintain a French GUI version of gxtuner for LibraZiK (to cater for the French-speaking readers).

I saw in tuner.cpp this line: #define P_(s) (s) // FIXME -> gettext.

So I just want to say here that I'd be more than happy to see i18n coming in and will submit a pull request for the FR translation straight after.

Allfifthstuning commented 6 years ago

I'll have to look into this subject, because I'm not familiar with this yet. @brummer10 could you give some advice?

Hans

trebmuh commented 6 years ago

Awesome. https://github.com/brummer10/gxtuner/issues/13 is already a good step in that direction.

Allfifthstuning commented 6 years ago

@trebmuh Could you elaborate on what else is needed for this issue to be closed?

Regards!

Hans

trebmuh commented 6 years ago

Hi @Allfifthstuning as an example, I'm attaching the patch I'm using now to get a fully French-translated gxtuner.

2000-FR_GUI_translation.txt

The general idea is to gettextize the sources I guess and provide .pot/.po file for the translators. I don't know how it works on the coding-side, I'm only used to work with .po file when translating software.

Allfifthstuning commented 6 years ago

Ok. But is there something I can do to enhance it or is it ok for now?

trebmuh commented 6 years ago

Integrating within gxtuner source code a way of translating (using gettext) would be awesome since I could translate in French in this repo rather than only in my package/distribution. That would means that all the gxtuner users could benefit from the French translation.

You can see an example here in the amsynth repo.

brummer10 commented 6 years ago

Hi

Sorry for delay. I've put a HowTo now on https://linuxmusicians.com/viewtopic.php?f=44&p=91526#p91526

Let me know if you've issues with it.

trebmuh commented 6 years ago

Nice @brummer10 ! Thanks you for doing that, I'll bookmark this page to flick it around when people are asking how to do so.

@Allfifthstuning : are you on to make gxtuner able to be localized with this howto?

Allfifthstuning commented 6 years ago

Thanks Hermann, great job.

I want to give it a try, but it will take some time. The coming weeks are pretty busy. Keep you posted.

Hans

trebmuh commented 2 years ago

@Allfifthstuning any news here?

Allfifthstuning commented 2 years ago

Dear Olivier,

I'm sorry for not getting back to you sooner.

Unfortunately there isn't any news.

I'm not using gxtuner anymore and don't have time on my hands to maintain it.

Maybe it's a good idea to mark the project as unmaintained for the time being?

Hans

Op Wed Dec 29 2021 11:49:25 GMT+0100 (Central European Standard Time) schreef Olivier HUMBERT @.***>:

---------- Oorspronkelijk bericht ----------

@Allfifthstuning ( https://github.com/Allfifthstuning ) any news here?

— Reply to this email directly, view it on GitHub ( https://github.com/brummer10/gxtuner/issues/6#issuecomment-1002533017 ) , or unsubscribe ( https://github.com/notifications/unsubscribe-auth/AH44RENOTYYA27RCS5EQETDUTLRTLANCNFSM4EFIKMTQ ). Triage notifications on the go with GitHub Mobile for iOS ( https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 ) or Android ( https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub ). You are receiving this because you were mentioned. Message ID: <brummer10/gxtuner/issues/6/1002533017 @ github. com>

trebmuh commented 2 years ago

Thanks for answering Hans. No worries at all. Maybe someone will pick up the ball sometimes later. Anyway, happy new year to you and yours!