All of lore.kernel.org
 help / color / mirror / Atom feed
* gettext branch
@ 2009-11-01 20:43 Carles Pina i Estany
  2009-11-01 22:44 ` Carles Pina i Estany
  0 siblings, 1 reply; 6+ messages in thread
From: Carles Pina i Estany @ 2009-11-01 20:43 UTC (permalink / raw)
  To: grub-devel


Hello,

After some time of non-activity I'm back, and I think that during the
next weeks with enough time to finish the gettext topic.

The branch is here:

bzr.savannah.gnu.org/grub/people/cpina/gettext2
(notice the 2 at the end!)

We have talked about the gettext two times, last time was last June:
http://lists.gnu.org/archive/html/grub-devel/2009-06/msg00256.html

Or the full discussion (search for gettext support)
http://lists.gnu.org/archive/html/grub-devel/2009-06/threads.html

I've integrated the last patch in trunk:
http://lists.gnu.org/archive/html/grub-devel/2009-06/msg00279.html

General approach: gettext implementation in a gettext module inside
Grub. A simple function (_) that returns the same string, unless gettext
module is loaded where then this function is replaced by another one
that opens the .mo file following some variables and then gets the text
from the .mo file. Right now it's getting the .mo file from
/usr/share/locale/LANGUAGE/LC_MESSAGE

There is some other part where I implemented gettext support in the Bash
scrips that Grub is using (grub-mkconfig_lib.in and get_locale_lang)

Ask for help (like last time :-) ):
Work to be done and where I asked help and I think that phcoder wanted
to help but he had holidays and after that I had some extra-busy
season):

a) make should compile the po/*.po to po/*.mo using something like:

for pofile in *.po
do
	msgfmt "$pofile" -o $(basename "$pofile" .po).mo
done
(the equivalent in Make)

b) make install should install the .mo files to
/usr/share/locale/$LANGUAGE/LC_MESSAGE, something like:

for mofile in *.mo
do
	LANGUAGE=$(basename $i .mo)
	echo cp $LANGUAGE /usr/share/locale/$LANGUAGE/LC_MESSAGE
done

If someone give me a hand with this I will integrate in
people/cpina/gettext2 . I don't know if this should go to experimental
or trunk.

When all integration will be done (above things, other things that will
appear) I will add the "_" function to more strings and also me and some
friends of a Catalan LUG (Catux) will translate the .po to Catalan.

-- 
Carles Pina i Estany
	http://pinux.info



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: gettext branch
  2009-11-01 20:43 gettext branch Carles Pina i Estany
@ 2009-11-01 22:44 ` Carles Pina i Estany
  2009-11-01 23:47   ` Carles Pina i Estany
  0 siblings, 1 reply; 6+ messages in thread
From: Carles Pina i Estany @ 2009-11-01 22:44 UTC (permalink / raw)
  To: grub-devel


Hi,

On Nov/01/2009, Carles Pina i Estany wrote:

> bzr.savannah.gnu.org/grub/people/cpina/gettext2
> (notice the 2 at the end!)

without the 2, Robert moved it correctly.

So the address of the gettext branch is.
bzr.savannah.gnu.org/grub/people/cpina/gettext2

Cheers,

-- 
Carles Pina i Estany
	http://pinux.info



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: gettext branch
  2009-11-01 22:44 ` Carles Pina i Estany
@ 2009-11-01 23:47   ` Carles Pina i Estany
  2009-11-13 11:43     ` Felix Zielcke
  0 siblings, 1 reply; 6+ messages in thread
From: Carles Pina i Estany @ 2009-11-01 23:47 UTC (permalink / raw)
  To: grub-devel


Hi,

On Nov/01/2009, Carles Pina i Estany wrote:

> On Nov/01/2009, Carles Pina i Estany wrote:
> 
> > bzr.savannah.gnu.org/grub/people/cpina/gettext2
> > (notice the 2 at the end!)
> 
> without the 2, Robert moved it correctly.
> 
> So the address of the gettext branch is.
> bzr.savannah.gnu.org/grub/people/cpina/gettext2

bzr.savannah.gnu.org/grub/people/cpina/gettext

Without 2, as I said before.

-- 
Carles Pina i Estany
	http://pinux.info



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: gettext branch
  2009-11-01 23:47   ` Carles Pina i Estany
@ 2009-11-13 11:43     ` Felix Zielcke
  2009-11-13 20:59       ` Carles Pina i Estany
  0 siblings, 1 reply; 6+ messages in thread
From: Felix Zielcke @ 2009-11-13 11:43 UTC (permalink / raw)
  To: The development of GRUB 2

Am Sonntag, den 01.11.2009, 23:47 +0000 schrieb Carles Pina i Estany:
> Hi,
> 
> On Nov/01/2009, Carles Pina i Estany wrote:
> 
> > On Nov/01/2009, Carles Pina i Estany wrote:
> > 
> > > bzr.savannah.gnu.org/grub/people/cpina/gettext2
> > > (notice the 2 at the end!)
> > 
> > without the 2, Robert moved it correctly.
> > 
> > So the address of the gettext branch is.
> > bzr.savannah.gnu.org/grub/people/cpina/gettext2
> 
> bzr.savannah.gnu.org/grub/people/cpina/gettext
> 
> Without 2, as I said before.
> 

Hi Carles,

please push your bzr branch again on savannah.
It got lost because we had to create all bzr branches again due to
corruption in the trunk.

-- 
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: gettext branch
  2009-11-13 11:43     ` Felix Zielcke
@ 2009-11-13 20:59       ` Carles Pina i Estany
  2009-11-13 21:11         ` Robert Millan
  0 siblings, 1 reply; 6+ messages in thread
From: Carles Pina i Estany @ 2009-11-13 20:59 UTC (permalink / raw)
  To: The development of GNU GRUB


Hi,

On Nov/13/2009, Felix Zielcke wrote:

> please push your bzr branch again on savannah.
> It got lost because we had to create all bzr branches again due to
> corruption in the trunk.

yeap, Robert also told me and I was waiting to have some free time now
on weekend.

It's already done:
bzr.savannah.gnu.org/srv/bzr/grub/people/cpina/gettext

The building system needs the work that I described in another mail:
http://lists.gnu.org/archive/html/grub-devel/2009-11/msg00009.html

Thanks,

-- 
Carles Pina i Estany
	http://pinux.info



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: gettext branch
  2009-11-13 20:59       ` Carles Pina i Estany
@ 2009-11-13 21:11         ` Robert Millan
  0 siblings, 0 replies; 6+ messages in thread
From: Robert Millan @ 2009-11-13 21:11 UTC (permalink / raw)
  To: The development of GNU GRUB; +Cc: Jordi Mallach

On Fri, Nov 13, 2009 at 08:59:16PM +0000, Carles Pina i Estany wrote:
> 
> Hi,
> 
> On Nov/13/2009, Felix Zielcke wrote:
> 
> > please push your bzr branch again on savannah.
> > It got lost because we had to create all bzr branches again due to
> > corruption in the trunk.
> 
> yeap, Robert also told me and I was waiting to have some free time now
> on weekend.
> 
> It's already done:
> bzr.savannah.gnu.org/srv/bzr/grub/people/cpina/gettext
> 
> The building system needs the work that I described in another mail:
> http://lists.gnu.org/archive/html/grub-devel/2009-11/msg00009.html

Jordi said (well, sort of ;-)) that he might be able to offer some assistance.

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-11-13 21:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-01 20:43 gettext branch Carles Pina i Estany
2009-11-01 22:44 ` Carles Pina i Estany
2009-11-01 23:47   ` Carles Pina i Estany
2009-11-13 11:43     ` Felix Zielcke
2009-11-13 20:59       ` Carles Pina i Estany
2009-11-13 21:11         ` Robert Millan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.