Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi,

2012/7/7 Sophie Gautier <gautier.sophie@gmail.com>:
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 l10n+help@global.libreoffice.org
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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.