On Thu, Jun 13, 2013 at 3:05 PM, Olsen, Morten Engelhardt <
[email protected]> wrote:
> Ups, wrong answer to wrong issue :P
>
> Sorry...
>
> 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
> :: Morten Engelhardt Olsen
> ________________________________________
> From: Olsen, Morten Engelhardt [[email protected]]
> Sent: Thursday, June 13, 2013 20:58
> To: Marja van Waes; docbook-apps mailing list
> Subject: RE: [docbook-apps] getting text in Search tab
>
> I would probably start by looking at
> http://xmlgraphics.apache.org/fop/dev/svg.html (if you use FOP, that
> is)...
>
> Take care to read the svg linking part...
>
> :: Morten Engelhardt Olsen
> ________________________________________
> From: Marja van Waes [[email protected]]
> Sent: Thursday, June 13, 2013 19:46
> To: docbook-apps mailing list
> Subject: [docbook-apps] getting text in Search tab
>
> Hi all,
>
> In our WebHelp, for many languages the Search tab is as good as
> invisible because there is no text in it, like here:
> http://doc.mageia.org/installer/3/ru/content/index.html
>
> For German, the text is in English
> http://doc.mageia.org/installer/3/de/content/index.html
>
> For us, only in English and French it is as it should be.
>
> What must I do to get the correct translation of "Search" in that tab?
>
> Kind regards,
> Marja
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--
~~~*******'''''''''''''*******~~~
*Kasun Gajasinghe*
Software Engineer; WSO2 Inc.; http://wso2.com,
*linked-in: *http://lk.linkedin.com/in/gajasinghe*
*
*blog: **http://blog.kasunbg.org* <http://blog.kasunbg.org/>
*
twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>