[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Maposmatic-dev] A proposal to solve the translation problem
From: |
David MENTRE |
Subject: |
Re: [Maposmatic-dev] A proposal to solve the translation problem |
Date: |
Fri, 6 Apr 2012 08:24:18 +0200 |
Hello Thomas,
2012/4/5 Thomas Petazzoni <address@hidden>:
> On the other hand, the way we currently do it for renderers, where the
> name and description are defined as class variables looks better to me,
> but doesn't play well with translation: the _() function is not
> available until a gettext context has been put in place, so _() cannot
> be used on class variables.
Use several classes? One that contain the translated name of all style
sheets (instantiated to get the names), then one class per
style-sheet. The former is referencing all the others.
> I had a quick look at that tonight, and I don't see how to solve the
> problem. Would anyone have a bit of time to work on this?
Sorry, not me, I don't have enough time.
Best regards,
d.
- Re: [Maposmatic-dev] A proposal to solve the translation problem, (continued)
- Re: [Maposmatic-dev] A proposal to solve the translation problem, Thomas Petazzoni, 2012/04/05
- Re: [Maposmatic-dev] A proposal to solve the translation problem, Thomas Petazzoni, 2012/04/05
- Re: [Maposmatic-dev] A proposal to solve the translation problem, Jeroen van Rijn, 2012/04/05
- Re: [Maposmatic-dev] A proposal to solve the translation problem, David MENTRE, 2012/04/06
- Re: [Maposmatic-dev] A proposal to solve the translation problem, Thomas Petazzoni, 2012/04/06
- Re: [Maposmatic-dev] A proposal to solve the translation problem, Jeroen van Rijn, 2012/04/06
- Re: [Maposmatic-dev] A proposal to solve the translation problem, Thomas Petazzoni, 2012/04/06
- Re: [Maposmatic-dev] A proposal to solve the translation problem, David MENTRE, 2012/04/06
- Re: [Maposmatic-dev] A proposal to solve the translation problem,
David MENTRE <=
- Re: [Maposmatic-dev] A proposal to solve the translation problem, David Decotigny, 2012/04/03
- Re: [Maposmatic-dev] A proposal to solve the translation problem, Thomas Petazzoni, 2012/04/04
Re: [Maposmatic-dev] A proposal to solve the translation problem, Konstantin Mochalov, 2012/04/04
[Maposmatic-dev] (no subject), Konstantin Mochalov, 2012/04/04
Re: [Maposmatic-dev] A proposal to solve the translation problem, Thomas Petazzoni, 2012/04/10