Re: Query on generation of mo files
- From: Paras pradhan <pradhanparas gmail com>
- To: ankit redhat com
- Cc: gnome-i18n gnome org
- Subject: Re: Query on generation of mo files
- Date: Wed, 20 Jul 2005 19:02:02 +0545
hi,
For the 2 methods mentioned, i have to download huge source files in
order to check the gettext name and will be terriblle in my poor
internet connection.
checking the gettext name is the only the way out?.
here i don't compile from sources... i use debain and do apt-get
install gnome-desktop-environmentm which is the very convinent for me.
just a thought:
i think the some one from the list from some country whose gnome 2,.10
or 2.12 can do a simple ls -al /usr/share/locale/XX/LC_MESSAGES/ and
paste in this email.
sorry if am acting silly.
Paras.
On 7/20/05, Ankitkumar Rameshchandra Patel <ankit redhat com> wrote:
> Hi,
>
> Before some time the same question asked about naming of mo files. and
> danilo and christian given the answers. I am pasting both of them here. You
> can refer them... :)
>
> Answer by Christian
> mÃn 2004-08-09 klockan 23.34 skrev Gora Mohanty:
>
>
> > I am puzzled about something. I have been trying to
> > test some of our translations under CVS Gnome
> > downloaded and built with jhbuild. The install
> > directory is /opt/gtk2 and I have been putting .mo
> > files in /opt/gtk2/share/locale/or_IN/LC_MESSAGES
> > Things seem to work, except that some programs
> > appear to need an explicit version number for the
> > .mo file, e.g., gedit works when the file is named
> > gedit-2.6.mo, but not if it is gedit.mo. Why is that?
> > More importantly, how do I find out what is the
> > correct version number? Will the value from
> > "program --version" always work?
>
> To find out the gettext domain, you can fetch the sources from CVS and
> run intltool-update --pot and look at the generated pot file name.
> Alternatively, you can look at the GETTEXT_PACKAGE line directly in
> configure.in.
>
>
> The reason some modules use a versioned gettext domain is to allow for
> multiple versions of the same software to be simultaneously installed on
> a system.
> This is common for libraries, as some software might depend upon a newer
> version of the library, and some on an older version, so both versions
> need to be installed simultaneously without being in conflict with each
> other, with all files being seperate, including the mo files.
>
> However, there's usually no need for ordinary applications to be
> versioned this way. As an example, I cannot figure out why anyone would
> seriously need two versions of gedit installed on the same system, so in
> the case of gedit it can probably be reported as a bug, as I did with
> gdm (http://bugzilla.gnome.org/show_bug.cgi?id=148042).
>
> Feel free to report such a bug against gedit:
> http://bugzilla.gnome.org/enter_bug.cgi?product=gedit&op_sys=All&cc=menthos menthos com
>
>
> Thanks,
> Christian
>
> =================================================================================
>
> Answer by Danilo
>
> Hi Gora,
>
> Yesterday at 23:34, Gora Mohanty wrote:
>
>
>
> > I am puzzled about something. I have been trying to
> > test some of our translations under CVS Gnome
> > downloaded and built with jhbuild. The install
> > directory is /opt/gtk2 and I have been putting .mo
> > files in /opt/gtk2/share/locale/or_IN/LC_MESSAGES
> > Things seem to work, except that some programs
> > appear to need an explicit version number for the
> > .mo file, e.g., gedit works when the file is named
> > gedit-2.6.mo, but not if it is gedit.mo. Why is that?
> > More importantly, how do I find out what is the
> > correct version number? Will the value from
> > "program --version" always work?
>
> Here's some help, a list gotten with grepping my CVS check-out (some
> modules I haven't updated for a long time, so it may no longer be correct,
> but I think it will work for most cases). $ grep 'GETTEXT_PACKAGE='
> */configure.??
> acme/configure.in:GETTEXT_PACKAGE=AC_PACKAGE_NAME
> alleyoop/configure.in:GETTEXT_PACKAGE=alleyoop
> anjuta-1-2/configure.in:GETTEXT_PACKAGE=anjuta
> atk/configure.in:GETTEXT_PACKAGE=atk10
> atomix/configure.in:GETTEXT_PACKAGE=atomix
> balsa/configure.in:GETTEXT_PACKAGE=balsa
> battfink/configure.in:GETTEXT_PACKAGE=battfink-0.1
> beast/configure.in: GETTEXT_PACKAGE=$BST_GETTEXT_DOMAIN
> bonobo-activation/configure.in:GETTEXT_PACKAGE=bonobo-activation
> bug-buddy/configure.in:GETTEXT_PACKAGE=bug-buddy
> camorama/configure.in:GETTEXT_PACKAGE=AC_PACKAGE_NAME
> conglomerate/configure.in:GETTEXT_PACKAGE=AC_PACKAGE_NAME
> dasher/configure.in:GETTEXT_PACKAGE=dasher
> dedit/configure.in:GETTEXT_PACKAGE=dedit2
> devhelp/configure.in:GETTEXT_PACKAGE=devhelp
> dia/configure.in:GETTEXT_PACKAGE=dia
> drgeo/configure.ac:GETTEXT_PACKAGE=drgeo
> drivel/configure.ac:GETTEXT_PACKAGE=drivel
> drwright/configure.in:GETTEXT_PACKAGE=drwright
> eel/configure.in:GETTEXT_PACKAGE=eel-2.0
> eog/configure.in:GETTEXT_PACKAGE=eog
> epiphany/configure.in:GETTEXT_PACKAGE=epiphany
> epiphany-extensions/configure.ac:GETTEXT_PACKAGE=epiphany-extensions-1.0
> epiphany-extensions.gnome-2-6/configure.ac:GETTEXT_PACKAGE=epiphany-extensions-1.0
> evolution/configure.in:GETTEXT_PACKAGE=evolution-1.5
> evolution-data-server/configure.in:GETTEXT_PACKAGE=evolution-data-server-1.5
> evolution-groupwise/configure.in:GETTEXT_PACKAGE=evolution-groupwise-1.0
> evolution-webcal/configure.ac:GETTEXT_PACKAGE=$PACKAGE
> file-roller/configure.in:GETTEXT_PACKAGE=file-roller
> firestarter/configure.in:GETTEXT_PACKAGE=firestarter
> fontilus/configure.in:GETTEXT_PACKAGE=fontilus
> gaby/configure.ac:GETTEXT_PACKAGE=gaby
> gail/configure.in:GETTEXT_PACKAGE=gail
> gal/configure.in:GETTEXT_PACKAGE=gal-${GAL_API_VERSION}
> galeon/configure.in:GETTEXT_PACKAGE=galeon-2.0
> gcalctool/configure.in:GETTEXT_PACKAGE=gcalctool
> gcm/configure.in:GETTEXT_PACKAGE=gcm
> gcompris/configure.in:GETTEXT_PACKAGE=gcompris
> gconf/configure.in:GETTEXT_PACKAGE=GConf$MAJOR_VERSION
> gconf-editor/configure.in:GETTEXT_PACKAGE=gconf-editor
> gdesklets/configure.in:GETTEXT_PACKAGE=gdesklets
> gdl/configure.in:GETTEXT_PACKAGE=gdl-1
> gdm2/configure.in:GETTEXT_PACKAGE=gdm
> gdu/configure.in:GETTEXT_PACKAGE=gnome-doc-utils
> gedit/configure.in:GETTEXT_PACKAGE=gedit-2.6
> gedit-plugins/configure.in:GETTEXT_PACKAGE=gedit-plugins-2.4
> genius/configure.in:GETTEXT_PACKAGE=genius
> ggv/configure.in:GETTEXT_PACKAGE=ggv
> ggv-nesto/configure.in:GETTEXT_PACKAGE=ggv
> ghex/configure.in:GETTEXT_PACKAGE=ghex-2.0
> gimp/configure.in:GETTEXT_PACKAGE=gimp20
> gimp-freetype/configure.in:GETTEXT_PACKAGE=gimp20-freetype
> gimp-gap/configure.in:GETTEXT_PACKAGE=gimp20-gap
> gimp.gimp-2-0/configure.in:GETTEXT_PACKAGE=gimp20
> glade/configure.in:GETTEXT_PACKAGE=glade-2.0
> glib/configure.in:GETTEXT_PACKAGE=glib20
> glimmer/configure.in:GETTEXT_PACKAGE=glimmer-too
> gnome-alsamixer/configure.ac:GETTEXT_PACKAGE=gnome-alsamixer
> gnome-applets/configure.in:GETTEXT_PACKAGE=gnome-applets-2.0
> gnome-backup/configure.in:GETTEXT_PACKAGE=gnome-backup
> gnome-blog/configure.in:GETTEXT_PACKAGE=gnome-blog
> gnome-build/configure.in:GETTEXT_PACKAGE=gbf-1
> gnomechat/configure.in:GETTEXT_PACKAGE=gnomechat
> gnome-chess/configure.in:GETTEXT_PACKAGE=gnome-chess
> gnome-commander/configure.in:GETTEXT_PACKAGE=gnome-commander
> gnome-control-center/configure.in:GETTEXT_PACKAGE=control-center-2.0
> gnome-cups-manager/configure.in:GETTEXT_PACKAGE=AC_PACKAGE_NAME
> gnome-desktop/configure.in:GETTEXT_PACKAGE=gnome-desktop-2.0
> gnome-games/configure.in:GETTEXT_PACKAGE=gnome-games
> gnome-hello/configure.ac:GETTEXT_PACKAGE=gnome-hello-2.0
> gnome-icon-theme/configure.in:GETTEXT_PACKAGE=gnome-icon-theme
> gnomeicu/configure.in:GETTEXT_PACKAGE=gnomeicu
> gnome-jabber/configure.in:GETTEXT_PACKAGE=gnome-jabber
> gnome-keyring/configure.in:GETTEXT_PACKAGE=gnome-keyring
> gnome-mag/configure.in:GETTEXT_PACKAGE=gnome-mag
> gnome-media/configure.in:GETTEXT_PACKAGE=gnome-media-2.0
> gnomemeeting/configure.in:GETTEXT_PACKAGE=gnomemeeting
> gnome-mime-data/configure.in:GETTEXT_PACKAGE=gnome-mime-data
> gnome-mud/configure.ac:GETTEXT_PACKAGE=gnome-mud
> gnome-netstatus/configure.in:GETTEXT_PACKAGE=gnome-netstatus
> gnome-nettool/configure.in:GETTEXT_PACKAGE=gnome-nettool
> gnome-network/configure.in:GETTEXT_PACKAGE=gnome-network
> gnome-office/configure.in:GETTEXT_PACKAGE=gnome-office
> gnome-panel/configure.in:GETTEXT_PACKAGE=gnome-panel-2.0
> gnome-pilot-conduits/configure.in:GETTEXT_PACKAGE=gnome-pilot-conduits
> gnome-pilot/configure.in:GETTEXT_PACKAGE=gnome-pilot
> gnome-pim/configure.in:GETTEXT_PACKAGE=gnome-pim
> gnome-pkgview/configure.in:GETTEXT_PACKAGE=gnome-pkgview
> gnomeradio/configure.in:GETTEXT_PACKAGE=gnomeradio
> gnome-schedule/configure.ac:GETTEXT_PACKAGE=gnome-schedule
> gnome-session/configure.in:GETTEXT_PACKAGE=gnome-session-2.0
> gnome-sharing/configure.in:GETTEXT_PACKAGE=gnome-sharing
> gnome-spell/configure.in:GETTEXT_PACKAGE=gnome-spell-1.0.5
> gnome-system-tools/configure.in:GETTEXT_PACKAGE=gnome-system-tools
> gnome-terminal/configure.in:GETTEXT_PACKAGE=gnome-terminal
> gnome-themes/configure.in:GETTEXT_PACKAGE=gnome-themes
> gnome-themes-extras/configure.in:GETTEXT_PACKAGE=gnome-themes-extras
> gnome-utils/configure.in:GETTEXT_PACKAGE=gnome-utils-2.0
> gnome-vfs/configure.in:GETTEXT_PACKAGE=gnome-vfs-2.0
> gnome-vfs-extras/configure.in:GETTEXT_PACKAGE=AC_PACKAGE_NAME
> gnome-volume-manager/configure.in:GETTEXT_PACKAGE=AC_PACKAGE_NAME
> gnomoku2/configure.in:GETTEXT_PACKAGE=gnomoku
> gnomoku/configure.in:GETTEXT_PACKAGE=gnomoku
> gnopernicus/configure.in:GETTEXT_PACKAGE=gnopernicus
> gnumeric/configure.in:GETTEXT_PACKAGE=gnumeric
> gok/configure.in:GETTEXT_PACKAGE=gok
> gossip/configure.in:GETTEXT_PACKAGE=gossip
> gpdf/configure.in:GETTEXT_PACKAGE=AC_PACKAGE_NAME
> gperfmeter/configure.in:GETTEXT_PACKAGE=gnome-perfmeter
> gswitchit/configure.in:GETTEXT_PACKAGE=gswitchit
> gswitchit/configure.in:GETTEXT_PACKAGE=AC_PACKAGE_NAME
> gtetrinet/configure.in:GETTEXT_PACKAGE=gtetrinet
> gthumb/configure.in:GETTEXT_PACKAGE=gthumb
> gtk+/configure.in:GETTEXT_PACKAGE=gtk20
> gtkhtml/configure.in:GETTEXT_PACKAGE=${GTKHTML_RELEASE_STRING}
> gtksourceview/configure.in:GETTEXT_PACKAGE=gtksourceview-1.0
> gtranslator/configure.in:GETTEXT_PACKAGE=gtranslator
> gturing/configure.in:GETTEXT_PACKAGE=gturing-2.0
> gucharmap/configure.ac:GETTEXT_PACKAGE=gucharmap
> guikachu-gnome-2-branch/configure.in:GETTEXT_PACKAGE=$PACKAGE
> hardware-monitor/configure.ac:GETTEXT_PACKAGE=$PACKAGE
> jamboree/configure.in:GETTEXT_PACKAGE=jamboree
> libbonobo/configure.in:GETTEXT_PACKAGE=libbonobo-2.0
> libbonoboui/configure.in:GETTEXT_PACKAGE=libbonoboui-2.0
> libgda/configure.in:GETTEXT_PACKAGE=libgda-2
> libgircclient/configure.in:GETTEXT_PACKAGE=libgircclient-$GIRCCLIENT_API_VERSION
> libgnetwork/configure.in:GETTEXT_PACKAGE=libgnetwork-$GNETWORK_API_VERSION
> libgnomecanvas/configure.in:GETTEXT_PACKAGE=libgnomecanvas-2.0
> libgnome/configure.in:GETTEXT_PACKAGE=libgnome-2.0
> libgnomecups/configure.in:GETTEXT_PACKAGE=AC_PACKAGE_NAME
> libgnomedb/configure.in:GETTEXT_PACKAGE=libgnomedb-2
> libgnomeprint/configure.in:GETTEXT_PACKAGE=libgnomeprint-2.2
> libgnomeprintui/configure.in:GETTEXT_PACKAGE=libgnomeprintui-2.2
> libgnomesu/configure.in:GETTEXT_PACKAGE=libgnomesu-1.0
> libgnomeui/configure.in:GETTEXT_PACKAGE=libgnomeui-2.0
> libgtcpsocket/configure.in:GETTEXT_PACKAGE=libgtcpsocket-$GTCPSOCKET_API_VERSION
> libgtop/configure.in:GETTEXT_PACKAGE=libgtop-2.0
> libmimedir/configure.in:GETTEXT_PACKAGE=libmimedir
> libmrproject/configure.in:GETTEXT_PACKAGE=libmrproject
> libwnck/configure.in:GETTEXT_PACKAGE=libwnck
> magicdev/configure.in:GETTEXT_PACKAGE=AC_PACKAGE_NAME
> marlin/configure.in:GETTEXT_PACKAGE=marlin
> medusa/configure.in:GETTEXT_PACKAGE=medusa-2.0
> memprof/configure.in:GETTEXT_PACKAGE=memprof
> mergeant/configure.in:GETTEXT_PACKAGE=mergeant
> metacity/configure.in:GETTEXT_PACKAGE=metacity
> metatheme/configure.in:GETTEXT_PACKAGE=metatheme
> mlview/configure.in:GETTEXT_PACKAGE=mlview
> monkey-bubble/configure.in:GETTEXT_PACKAGE=monkey-bubble
> monkey-media/configure.in:GETTEXT_PACKAGE=monkey-media
> monster-masher/configure.ac:GETTEXT_PACKAGE=$PACKAGE
> mrproject/configure.in:GETTEXT_PACKAGE=mrproject
> msm/configure.in:GETTEXT_PACKAGE=msm
> muine/configure.in:GETTEXT_PACKAGE=muine
> nautilus-cd-burner/configure.in:GETTEXT_PACKAGE=nautilus-cd-burner
> nautilus/configure.in:GETTEXT_PACKAGE=nautilus
> nautilus-gtkhtml/configure.in:GETTEXT_PACKAGE=nautilus-gtkhtml
> nautilus-media/configure.in:GETTEXT_PACKAGE=nautilus-media
> nautilus-mozilla/configure.in:GETTEXT_PACKAGE=nautilus-mozilla
> nautilus-rc/configure.in:GETTEXT_PACKAGE=nautilus-rc
> nautilus-rpm/configure.in:GETTEXT_PACKAGE=nautilus-rpm
> optimystic/configure.ac:GETTEXT_PACKAGE=optimystic
> pan/configure.in:GETTEXT_PACKAGE=pan
> planner/configure.in:GETTEXT_PACKAGE=planner
> pong/configure.in:GETTEXT_PACKAGE=pong$MAJOR_VERSION
> printman/configure.in:GETTEXT_PACKAGE=printman
> procman/configure.in:GETTEXT_PACKAGE=gnome-system-monitor
> quick-lounge-applet/configure.in:GETTEXT_PACKAGE=quick-lounge-applet
> radioactive/configure.in:GETTEXT_PACKAGE=$PACKAGE
> red-carpet/configure.in:GETTEXT_PACKAGE=red-carpet
> rhythmbox/configure.ac:GETTEXT_PACKAGE=rhythmbox
> rmm-utils/configure.in:GETTEXT_PACKAGE=rmm-utils
> scaffold/configure.in:GETTEXT_PACKAGE=scaffold
> seahorse/configure.in:GETTEXT_PACKAGE=seahorse
> setup-tools-backends/configure.in:GETTEXT_PACKAGE=setup-tools-backends
> sodipodi/configure.in:GETTEXT_PACKAGE=sodipodi
> sound-juicer/configure.in:GETTEXT_PACKAGE=sound-juicer
> stickynotes_applet/configure.in:GETTEXT_PACKAGE=stickynotes_applet
> straw/configure.in:GETTEXT_PACKAGE=straw
> themus/configure.in:GETTEXT_PACKAGE=themus
> totem/configure.in:GETTEXT_PACKAGE=AC_PACKAGE_NAME
> uf-view/configure.in:GETTEXT_PACKAGE=AC_PACKAGE_NAME
> vino/configure.in:GETTEXT_PACKAGE=vino
> vte/configure.in:GETTEXT_PACKAGE=vte
> webeyes/configure.in:GETTEXT_PACKAGE=webeyes
> yelp/configure.in:GETTEXT_PACKAGE=yelp
> zenity/configure.in:GETTEXT_PACKAGE=zenity-0.1 Note that
> AC_PACKAGE_NAME is what is passed to AC_INIT(...) as the first parameter,
> and is commonly the same as the name of the directory (eg. for Totem,
> AC_PACKAGE_NAME would be "totem"). If you don't check out the source of the
> code, keep this table for reference ;) You can clean it up a bit with eg.
> sed -e 's+/configure.in++' -e '+:GETTEXT_PACKAGE=+ +' Cheers, Danilo
> ==========================================================================================
>
> Both are very helpful...
>
> Paras pradhan àààààà:
>
> hi all,
>
> Got a question on naming of mo files to be generated from po files of
> gnome 2.10 and newer.
>
> I will take an example of gnomemeeting.
>
> At the l10n-status site
> (http://l10n-status.gnome.org/gnome-2.10/PO/gnomemeeting.gnome-2-10.ne.po),
> the name of gnomemeeting po file is gnomemeeting.gnome-2-10.ne.po. now
> if i want to generate the mo file, what should the mo file be named.
> is it gnomemeeting.gnome-2-10.mo or gnomemeeting.gnome-.mo or any
> other..?
>
> how do i decide the names of the mo files?.
>
> Thanks in Advance.
> Paras.
> _______________________________________________
> gnome-i18n mailing list
> gnome-i18n gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-i18n
>
>
>
> --
> --------------------------------------------
> Ankit Patel Mob: +91 9890772942
> Technical Translator Ph: +91 20 56056032
> Pune - India Fax: +91 20 56056040
> --------------------------------------------
>
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]