Next in thread → Next in month →

Re: [i18n-discuss] Re: [docbook-apps] getting text in Search tab

From
Kasun Gajasinghe <>
Date
2013-06-14T16:28:42+00:00
ID
Thread
Re: [i18n-discuss] Re: [docbook-apps] getting text in Search tab
This certainly helps Marek. The more we have, the better. I'll add this to the Estonian localization, and the translations of search strings by Marja. Thanks.

Kasun

On Fri, Jun 14, 2013 at 6:28 AM, Marek Laane <> wrote:

2013/6/14 Marja van Waes <>

Thanks a lot, Kasun :-)

So it's all here:

http://snapshots.docbook.org/xsl/common/<language_code>.xml

Here are some missing strings just for "Search" (I know the lang="*" can be removed when the string is put in the correct *.xml for that language, only adding it for more clarity):

<l:template name="Search" text="Αναζήτηση" lang="el"/>

<l:template name="Search" text="Serĉi" lang="eo"/>

<l:template name="Search" text="Buscar" lang="es"/>

<l:template name="Search" text="Otsing" lang="et"/>

<l:template name="Search" text="Zoeken" lang="nl"/>

<l:template name="Search" text="Pesquisa" lang="pt"/>

(We'll use it for pt_br)

<l:template name="Search" text="Поиск" lang="ru"/>

<l:template name="Search" text="Sök" lang="sv"/>

<l:template name="Search" text="Пошук" lang="uk"/>

To me (non-German), the German translation looks good, but I'll cc our translators, some of them might have time to translate the other missing strings and the Germans will know better how good the German translations are :-)

Btw, in the French <l:context name="webhelp">, several strings are not marked as English while they haven't been translated.

Kind regards,

Marja

If it helps, Estonian translations would be:

<l:context name="webhelp"><l:template name="Search" text="Otsing"/>

<l:template name="Enter_a_term_and_click" text="Kirjutage otsitav sõna ja klõpsake "/>

<l:template name="Go" text="Otsi"/><l:template name="to_perform_a_search" text="otsingu teostamiseks."/>

<l:template name="txt_filesfound" text="Tulemused"/><l:template name="txt_enter_at_least_1_char" text="Kirjutada tuleb vähemalt üks märk."/>

<l:template name="txt_browser_not_supported" text="_javascript_ on brauseris keelatud. Lülitage _javascript_ sisse, et näha lehekülge täielikult."/>

<l:template name="txt_please_wait" text="Palun oodake, otsitakse ..."/>

<l:template name="txt_results_for" text="Tulemused otsingule: "/><l:template name="TableofContents" text="Sisukord"/>

<l:template name="HighlightButton" text="Otsingutulemuste tähistamise sisse/väljalülitamine"/>

<l:template name="Your_search_returned_no_results" text="Otsing ei andnud tulemusi."/>

</l:context>

 

Marek Laane

Estonian translator

On 14/06/13 00:06, Kasun Gajasinghe wrote:

Hi Marja,

Here it is. I don't remember who did the translation, but if you see any

errors in translation, please let us know. You are always welcome to

provide missing translations for other languages.

<l:context name="webhelp"><l:template name="Search" text="Suchen"/>

<l:template name="Enter_a_term_and_click" text="Geben Sie einen Begriff ein

und wählen Sie "/>

<l:template name="Go" text="Go"/>

<l:template name="to_perform_a_search" text=", um eine Suche

durchzuführen."/>

<l:template name="txt_filesfound" text="Ergebnisse"/>

<l:template name="txt_enter_at_least_1_char" text="Sie müssen mindestens

ein Zeichen eingeben."/>

<l:template name="txt_browser_not_supported" text="_javascript_ ist in Ihrem

Browser abgeschaltet. Bitte schalten Sie _javascript_ an, damit diese Seiten

vollständig dargestellt werden."/>

<l:template name="txt_please_wait" text="Bitte warten Sie. Die Suche ist im

Gange ..."/>

<l:template name="txt_results_for" text="Ergebnisse für: "/>

<l:template name="TableofContents" text="Inhalt"/>

<l:template name="HighlightButton" text="Markierte Suchergebnisse

ein/ausschalten"/>

<l:template name="Your_search_returned_no_results" text="Ihre Suche

erbrachte kein Ergebnis."/>

</l:context>

This is available in the latest snapshots that you can download from

http://snapshots.docbook.org/.

Kasun

On Thu, Jun 13, 2013 at 4:25 PM, Marja van Waes <> wrote:

On 13/06/13 21:37, Kasun Gajasinghe wrote:

On Thu, Jun 13, 2013 at 3:05 PM, Olsen, Morten Engelhardt <

Morten_engelhardt.Olsen@atmel.**com <>>

wrote:

Check the gentext template for name=Search and context=webhelp in the

common directory (and possibly compare to english)

  Yes. And, the WebHelp related l10n are defined in its own context. For

example, the english l10n in common/en.xml looks like this. Open up the

language file for the language you want, and change the webhelp context to

look like this except the text attribute. As I see, this context is

already

added to all the available languages.

I checked the German localization in a docbook snapshot taken by me on

last

April. It has the correct German translation which I guess you can copy

back to yours.

<l:context name="webhelp"><l:template name="Search" text="Search"/>

      <l:template name="Enter_a_term_and_click" text="Enter a term and

click

"/>

      <l:template name="Go" text="Go"/>

      <l:template name="to_perform_a_search" text=" to perform a search."/>

      <l:template name="txt_filesfound" text="Results"/>

      <l:template name="txt_enter_at_least_1_**char" text="You must enter

at

least one character."/>

      <l:template name="txt_browser_not_**supported" text="_javascript_ is

disabled on your browser. Please enable _javascript_ to enjoy all the

features of this site."/>

      <l:template name="txt_please_wait" text="Please wait. Search in

progress..."/>

      <l:template name="txt_results_for" text="Results for: "/>

      <l:template name="TableofContents" text="Contents"/>

      <l:template name="HighlightButton" text="Toggle search result

highlighting"/>

      <l:template name="Your_search_returned_no_**results" text="Your

search

returned no results."/>

</l:context>

Thanks,

Kasun

Thanks for your help, Morten and Kasun :-)

@ Kasun

Do you mind re-pasting the German translation? There is no German in what

I see above ;-)

-- 
~~~*******'''''''''''''*******~~~
Kasun Gajasinghe
Software Engineer; WSO2 Inc.; http://wso2.com,

linked-in: http://lk.linkedin.com/in/gajasinghe

blog: http://blog.kasunbg.org

 

twitter: http://twitter.com/kasunbg
Next in thread → Next in month →