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

If your language needs to be added to the project, please request on mailing list: tools@l10n.openoffice.org
    • 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.

OpenOffice.org 3.3 will have localized links to Extension and Templates websites in the Start center and Templates dialog. There is a redirect server page that links OpenOffice.org user locale with a translated website (with English given as default). When new translation is added this redirect server page has to be updated for links to work. See 99975. Luckily you will get this done by tbo in a single issue when new translation is submitted, but no harm is to repeat.

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
http://templates.services.openoffice.org/ru/template/guide
http://templates.services.openoffice.org/zh-hans/template/guide
http://templates.services.openoffice.org/zh-hant/template/guide
http://templates.services.openoffice.org/sv/template/guide
http://templates.services.openoffice.org/he/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
ja: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
ru:Templates/website/guide_ru
zh-hans:Templates/website/guide_zh-hans
zh-hant:Templates/website/guide_zh-hant
sv:Templates/website/guide_sv
he:Templates/website/guide_he
The content of this page (called "template") is shown in every translated page. This is very helpful to make links among multiple translated pages. The links are shown in the left box named "in other languages". However, you should edit this template page very carefully and review many times before you submit your change because your change have an effect on not only the translated page in your language but also all other translated pages.
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
http://templates.services.openoffice.org/ru/template/upload/text
http://templates.services.openoffice.org/zh-hans/template/upload/text
http://templates.services.openoffice.org/zh-hant/template/upload/text
http://templates.services.openoffice.org/sv/template/upload/text
http://templates.services.openoffice.org/he/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 ja es pl ru zh-hans zh-hant sv he
Translator TBO ;-) sgauti jf2, michaelmotzkus Kami_ pescetti DiGro ohallot miles lodahl gr khirano es milek_pl rail starwars621 zaishenyeah pereriksson netanel_h
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 13.05.2009 19.05.2009 19.05.2009 27.05.2009 01.12.2010
Issue en fr de hu it 99630 99621/111041 95157 da gr 99821 es 101014 - - - 102242 115772
(T)emplate / (E)xtension site t e t t t t e t t e e t e t (gr) e t t? e t e t t e t t t
Strings updated 29.04.2010 29.04.2010 29.04.2010 29.04.2010 (gr) 29.04.2010 29.04.2010 he
Personal tools