Website in transifex

Nick Schermer nickschermer at gmail.com
Sun Nov 8 21:11:30 CET 2009


2009/11/7 Auke Kok <sofar at foo-projects.org>:
> Nick Schermer wrote:
>>
>> 2009/11/7 Auke Kok <sofar at foo-projects.org>:
>>>
>>> I recently did this for the moblin userguide project, which is written in
>>> xml. using xml2po, you generate pot/po files, and they can after being
>>> translated merged back without issue.
>>>
>>> for an example, look at the moblin-user-guide project on git.moblin.org.
>>>
>>> of course, it does mean that the php documents might need to be
>>> reformatted,
>>> since xfce's website is setup a bit differently. but that might not be a
>>> big
>>> issue. the tools are all there.
>>
>> I already have that working more or less, but indeed, the pages need a
>> bit of reformatting, but not a lot. Generating the pages is however
>> quite time consuming (the po -> xml stage), so we might want to run
>> the script as a cronjob instead of a git hook.
>
> you might want to take a look at my makefiles then... it only makes new xml
> files for po files that have changed, sigificantly reducing build time after
> each commit

Yes I already had that in mind, will take a look for sure. I think
I'll also split into multiple pot files, that will also make
translating easier, on the other hand, the gross of the translations
are the documentation, which will be translated in git somewhere in
the near future, I suppose.

Nick



More information about the Xfce4-dev mailing list