Re: Is there a way to help gtkmm for website translation?



On Sat, 2010-05-01 at 02:54 +1000, Tao Wang wrote:
> That would be great to submit it to l10n. I have 2 questions currently,
> 
> 1) If I translate the xml for gtkmm website into Chinese, will it show
> up to Chinese visitor automatically? or is it easy for them to choose
> the language?

Yes, I think so. For instance, Chinese visitors should see the Chinese
translation of this page automatically:
http://library.gnome.org/misc/release-notes/2.30/

That works by recognizing the language that the browser requests, which
is usually based on the user's general locale on the computer. It's not
location-aware.

This is only for the "Programming with gtkmm book". It might also be
possible for the API reference:
http://library.gnome.org/devel/gtkmm/stable/
(Which will soon have some nice text on that main page, thanks to David
King.)
though I guess that would be a huge amount of text to translate.

> I currently cannot find any similiar mechanism from gtkmm website for
> language selection, or automatically selection. So, I'm worried about
> whether the website will works for my translation?
> 
> 2) What gtkmm-documentation includes?

All of the "Programming with gtkmm" book, plus some extra example source
code that is not yet shown in the book.

> There are 3 documents in gtkmm. Based on priority:
> 1) the first one is the gtkmm website. This is beginning of
> everything. So, it's more important than others. So, it should be
> treated as a document.

The website is very simple HTML, using Server Side Includes to avoid
some repetive HTML. I'd welcome suggestions for making it translatable,
though it would have to still be simple. I have no interest in
maintaining a CMS.

> 2) The second is the gtkmm-tutorial, "Programming with gtkmm", where
> people want to have a first try. If people have language problem by
> this step, they may just give up.
> 3) And finally is the gtkmm API reference. People want to go deeper,
> or just look up for something. If people reach this step, they are
> more tolerant about language issue, most of them will figure out them
> self. So, having this docs translated, it would be good, but without
> it, still fine.
> 
> So, does gtkmm-documentation includes all these 3? As far as I know,
> it only contains gtkmm-tutorial, I'm not sure whether it contains API
> documents. But I'm sure it will not contains gtkmm website strings.
> So, could you put all 3 xml/po files to l10n.gnome.org if you can?
> 
> gtkmm is pretty, but I found no much people in China even know it. It
> should not be like that. I have tried ask some of them to give it a
> try. However, the language issue always be the largest stone blocking
> them. I hope more friends of mine can learn gtkmm without language
> issue.
> 
> On Sat, May 1, 2010 at 1:29 AM, Murray Cumming <murrayc murrayc com> wrote:
> > On Fri, 2010-04-30 at 19:24 +1000, Tao Wang wrote:
> >> Hi,
> >>
> >> I think it would be a good to support multi-language for gtkmm
> >> website, user guide and reference. When I introduce gtkmm to my
> >> friends, many of them stop their first try after visit gtkmm website,
> >> because they are really not good at English.
> >>
> >> I want to help on gtkmm website translation, and later for more stuff.
> >> Could you tell me how?
> >>
> >> And I found http://library.gnome.org/ support multi-language, which
> >> shows gtkmm tutorial has English and German version. However, I cannot
> >> found the hint on gtkmm website. So, I'm also worried that will the
> >> translation be shown on gtkmm site, after someone translated the
> >> tutorial.
> >
> > This should be fairly easy, because we use DocBook XML and already have
> > the build set up to allow translation via .po files (via xml2po). But I
> > have just now asked for gtkmm-documentation to be supported by the
> > http://l10n.gnome.org/ site, so it will be even easier. Hopefully I can
> > give clear instructions soon.
> >
> >
> > --
> > murrayc murrayc com
> > www.murrayc.com
> > www.openismus.com
> >
> >
> 
> 
> 


-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]