Templates/website/translation

From Apache OpenOffice Wiki
Jump to: navigation, search

Introduction

  • The website shows only content uploaded in the selected language
  • The selected language counts for the website UI and for the shown content
  • You may translate the already submittet templates to your language and upload them, if the owner and/or the license allows this
  • There is no connection between a template accross the languages - each template is on his own

How to proceed

  • Translate a few strings in pootle: http://pootle.sunvirtuallab.com/projects/extension_web/
    • These are the customized strings for the template site, the general strings are taken from drupal translation: http://drupal.org/project/Translations or http://drupal.org/project/l10n_server
    • Do not translate words that start with %, @ or !. These are variables that get substituted with dynamic text content.
      • There are 3 kinds of placeholder:
        • %placeholder: The string goes through theme_placeholder() for special formating. Additional through check_plain() to prevent cross-side scripting.
        • @placeholder: The string goes through check_plain() to prevent cross-side scripting.
        • !placeholder: The string is taken 'as is'.
        • Take care to use the same placeholder as in the english source! Otherwise it might end in not shown text.
  • When finished with translation in pootle, log in one time with your OpenOffice.org account to http://templates.services.openoffice.org/user/login
    • This is to create an account on the website
  • Now it is time to write an issue to tbo@openoffice.org
    • write down your OOo username and the language, and choose a title like: 'Template site translation request for language xx'
    • TBO will take the translation from pootle and the general drupal translation for the language.
    • Two pages on the site will get created with initial english content, with edit access for the mentioned OOo user.
    • When finished, you will get the issue back, with 2 urls which you need to translate on the site.
    • You will also get an url to a wiki page, that needs also get translated.
  • Now you should be able to upload templates in your language.
  • If everything is ok, close the issue.

Instructions/Help

for every language a own page will be created in drupal with alias like it/template/guide via the translation page function
Wait for the existance of the following page in your language and edit the content on your own:
http://templates.services.openoffice.org/de/template/guide
http://templates.services.openoffice.org/hu/template/guide
http://templates.services.openoffice.org/fr/template/guide
http://templates.services.openoffice.org/it/template/guide
http://templates.services.openoffice.org/ja/template/guide
http://templates.services.openoffice.org/nl/template/guide
http://templates.services.openoffice.org/pt-br/template/guide
http://templates.services.openoffice.org/da/template/guide
http://templates.services.openoffice.org/sl/template/guide
http://templates.services.openoffice.org/pl/template/guide
    • provide link to a translated wiki page of:
Do not translate the fieldname 'License'!
en: Templates/website/guide
de:Templates/website/guide_de
hu:Templates/website/guide_hu
fr:Templates/website/guide_fr
it:Templates/website/guide_it
jp:Templates/website/guide_ja
nl:Templates/website/guide_nl
pt-br:Templates/website/guide_pt-br
da:Templates/website/guide_da
sl:Templates/website/guide_sl
pl:Templates/website/guide_pl
Wait for the existance of the following page in your language and edit the content on your own:
Do not translate the fieldname 'License'!
http://templates.services.openoffice.org/de/template/upload/text
http://templates.services.openoffice.org/fr/template/upload/text
http://templates.services.openoffice.org/hu/template/upload/text
http://templates.services.openoffice.org/it/template/upload/text
http://templates.services.openoffice.org/ja/template/upload/text
http://templates.services.openoffice.org/nl/template/upload/text
http://templates.services.openoffice.org/pt-br/template/upload/text
http://templates.services.openoffice.org/da/template/upload/text
http://templates.services.openoffice.org/sl/template/upload/text
http://templates.services.openoffice.org/pl/template/upload/text

Translators

Please login on templates.services.openoffice.org with your OOo username, so the username is registred on the site, and i can assign the pages to edit.

Language en fr de hu it nl pt-br sl da gr jp es pl
Translator TBO ;-) sgauti jf2, michaelmotzkus Kami_ pescetti DiGro ohallot miles lodahl gr khirano es milek_pl
Date 29.01.2009 16:00 CET 29.01.2009 19:00 CET 30.01.2009 22:50 CET hu 29.01.2009 23:30 CET 26.02.2009 17:00 CET 02.04.2009 02.04.2009 gr 03.2009 es 27.04.2009
Issue en fr de hu it 99630 99621 95157 da gr 99821 es 101014
(T)emplate / (E)xtension site t t t t t e t t e t e t (gr) t (es) e t
Personal tools