Author Topic: Change text  (Read 4227 times)

watchman

  • Guest
Change text
« on: April 03, 2013, 02:40:43 »
Where can i change some text.
I saw the spelling is not correct

Thanks,

Mario

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1082
    • View Profile
Re: Change text
« Reply #1 on: April 03, 2013, 18:43:49 »
The translations are in the po/ folder (that you can find in the tarball or in git : https://github.com/squentin/gmusicbrowser/tree/master/po) you can use them to generate the .mo file that is installed in /usr/share/locale/XX/LC_MESSAGES/gmusicbrowser.mo where XX is the language code. See the README in the po/ folder. See also this page : http://gmusicbrowser.org/translations.html

You can contact the last translator so that he can include it in a translation update, or else send it to me (with a name and email to be used as commit author) but I'd rather avoid 1-line commits.

watchman

  • Guest
Re: Change text
« Reply #2 on: April 06, 2013, 04:01:49 »
Thank you for your help.
I need to study this first.
Do not get it how it comes with usr / share / locale / XX / LC_MESSAGES / gmusicbrowser.mo

Mario

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1082
    • View Profile
Re: Change text
« Reply #3 on: April 08, 2013, 00:37:29 »
Quote
Do not get it how it comes with usr / share / locale / XX / LC_MESSAGES / gmusicbrowser.mo

I don't understand what you mean. But to clarify, .po files are plain text files made for editing, they are transformed (by msgfmt) into .mo binary files, these .mo files are the files used by the applications.
So you need to edit the de.po file, generate the gmusicbrowser.mo file with it, and replace the one in /usr/share/locale/de/LC_MESSAGES/gmusicbrowser.mo

watchman

  • Guest
Re: Change text
« Reply #4 on: April 11, 2013, 03:00:28 »
Lol...very simple i have no experience with this. Its all new for me thats all.
I already try and look around on internet but i see it is not my thing to change it.
It is not a big issue so i leave it then.

watchman

  • Guest
Re:Change text
« Reply #5 on: April 16, 2013, 04:23:19 »
I tried again but is to much abacadabra for me. Somebody can help me with this?

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1082
    • View Profile
Re: Change text
« Reply #6 on: April 17, 2013, 01:17:45 »
1) edit the de.po file, you can get the latest from this link https://raw.github.com/squentin/gmusicbrowser/master/po/de.po
2) type command, from the folder containing de.po :
msgfmt -c -o gmusicbrowser.mo de.po
3) copy gmusicbrowser.mo to  /usr/share/locale/de/LC_MESSAGES/, you need root privileges for this (sudo)

watchman

  • Guest
Re: Change text
« Reply #7 on: April 17, 2013, 07:16:53 »
Thanks Quentin Sculo.
I get it. Easy if you know how it works.
I already contact the last translator like you said before.

Thanks again :)

staubi

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
Re: Change text
« Reply #8 on: April 22, 2013, 15:39:42 »
1) edit the de.po file, you can get the latest from this link https://raw.github.com/squentin/gmusicbrowser/master/po/de.po
2) type command, from the folder containing de.po :
msgfmt -c -o gmusicbrowser.mo de.po
3) copy gmusicbrowser.mo to  /usr/share/locale/de/LC_MESSAGES/, you need root privileges for this (sudo)

I guess it was the dutch translation... (https://raw.github.com/squentin/gmusicbrowser/master/po/nl.po)

Greetings, staubi

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1082
    • View Profile
Re: Change text
« Reply #9 on: April 23, 2013, 18:00:05 »
Quote
I guess it was the dutch translation.
Indeed, thanks staubi, I just took a very quick look at the screenshot and wrongly assumed it was german.
So replace all the "de" by "nl" in my instructions.