Hi,

2012/7/7 Sophie Gautier <[email protected]>:
> Hi Andika
>
> On 07/07/2012 17:19, Andika Triwidada wrote:
>>
>> Hello,
>>
>> In strings containing XML tags, should we also translate name="something"
>> too?
>> For instance, [1] source string is<variable id="doc_title"><link
>> href="text/shared/05/00000150.xhp" name="Managing Bookmarks">Managing
>> Bookmarks</link></variable>. Should we translate both "Managing
>> Bookmarks"?
>
>
> This what is said in the guide :
> link
> Attributes href, name, type, target
> Description Designates a hyperlink to another help file or to the WWW as
> specified by the href attribute.
> Element link
> Rule
> - Localize element content
> - Localize the name attribute
> - Copy the rest of the element tags exactly
> Example
> Source:
> \<link href=\"text/swriter/123.xhp\" name=\"Name of the
> link\"\>Using Headings\<\/item\>
> Localized:
> \<link href=\"text/swriter/123.xhp\" name=\"Name des
> Links\"\>Überschriften verwenden\<\/item\>
>

This is the theory. :) In practice name element is not converted by
main_transform.xsl
(http://opengrok.libreoffice.org/xref/core/xmlhelp/util/main_transform.xsl)
So you can leave it untranslated, or translate it, it does not matter.
Maybe it makes more sense to translate it, who knows, some day we may
use it as a tooltip of the link.

Best regards,
Andras

-- 
Unsubscribe instructions: E-mail to [email protected]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/l10n/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to