[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libreoffice-l10n] how to translate strings containing certain XML tags
[Thread Prev] | [Thread Next]
- Subject: Re: [libreoffice-l10n] how to translate strings containing certain XML tags
- From: Andras Timar <timar74@gmail.com>
- Date: Sat, 7 Jul 2012 17:47:41 +0200
- To: l10n@global.libreoffice.org
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
| Re: [libreoffice-l10n] how to translate strings containing certain XML tags | Martin Srebotnjak <miles@filmsi.net> |
| [libreoffice-l10n] how to translate strings containing certain XML tags | Andika Triwidada <andika@gmail.com> |
| Re: [libreoffice-l10n] how to translate strings containing certain XML tags | Sophie Gautier <gautier.sophie@gmail.com> |
- Prev by Date: Re: [libreoffice-l10n] how to translate strings containing certain XML tags
- Next by Date: Re: [libreoffice-l10n] how to translate strings containing certain XML tags
- Previous by thread: Re: [libreoffice-l10n] how to translate strings containing certain XML tags
- Next by thread: Re: [libreoffice-l10n] how to translate strings containing certain XML tags
- Index(es):
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 GNU Lesser General Public License (LGPLv3). "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.