Bug 781738

Summary: Configuration dialog is not internationalized
Product: [Fedora] Fedora Reporter: Raphael Groner <projects.rg>
Component: volumeiconAssignee: Christoph Wickert <cwickert>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: cwickert
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-14 19:04:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
patch to use gettext for i18n support
none
patch to support i18n via gettext
none
volumeicon.pot
none
de.po
none
patch for preferences.ui to work properly with xgettext none

Description Raphael Groner 2012-01-14 18:57:00 UTC
Description of problem:
Configuration dialog is only available in english.

Version-Release number of selected component (if applicable):
rawhide

How reproducible:
yes

Steps to Reproduce:
1. right click on systray icon and select preferences
2.
3.
  
Actual results:
Preferences dialog in english.

Expected results:
I18n support for preferences.

Additional info:
I could do the german part of translation, and maybe also patch the source if needed.

Comment 1 Christoph Wickert 2012-01-14 19:04:23 UTC
This is a feature request and has nothing to do with packaging or Fedora. Please bring this up upstream.

Comment 2 Raphael Groner 2012-03-01 21:58:42 UTC
Created attachment 566954 [details]
patch to use gettext for i18n support

Please review this patch, so I can file it upstream to the developer.

What I have done in short: I used the following howtos.

http://www.gnu.org/software/gettext/manual/gettext.html
http://www.servin.com/linux/GladeInternationalization.html

to enable xgettext support for UI:
- rename preferences.ui in preferences.glade
- mark "column" and "column2" in preferences.glade as translatable="no"

$ xgettext -o po/volumeicon.pot -s -k_ src/volumeicon.c data/gui/preferences.glade

Comment 3 Raphael Groner 2012-03-01 22:24:34 UTC
Created attachment 566956 [details]
patch to support i18n via gettext

Sorry, the first patch was crapped with binary stuff.

Comment 4 Raphael Groner 2012-03-01 22:25:36 UTC
Created attachment 566957 [details]
volumeicon.pot

Comment 5 Raphael Groner 2012-03-01 22:26:37 UTC
Created attachment 566958 [details]
de.po

Comment 6 Raphael Groner 2012-03-01 22:29:48 UTC
Created attachment 566959 [details]
patch for preferences.ui to work properly with xgettext

rename data/gui/preferences.ui to data/gui/preferences.glade

Comment 7 Raphael Groner 2012-05-09 16:48:31 UTC
Upstream seems to be aware of a need for i18n support.

https://github.com/Maato/volumeicon/pull/3
https://github.com/Maato/volumeicon/pull/8

Comment 8 Raphael Groner 2012-05-09 17:11:20 UTC
(In reply to comment #7)
> Upstream seems to be aware of a need for i18n support.
Correct links:
https://github.com/Maato/volumeicon/issues/3
https://github.com/Maato/volumeicon/pull/8