Hi *,
On Fri, Feb 8, 2013 at 3:18 AM, Christian Lohmaier
<lohmaier+ooofuture@googlemail.com> wrote:
Yes, it is possible.
As there is quite a bit of text, I'm not sure whether it is better to
just provide the whole page as translation, or do the individual
texts, similar to how the strings on the download and donate pages are
translated...
Open for suggestions....
As people so far preferred the second option, translation will be done
the same way as the Download/Donate strings - i.e. what silverstripe
will need in the end is the lang.php file additions..
So go ahead and translate the strings you see on
view-source:http://www.libreoffice.org/ (as people asked where the
source is: There's not really much else stored in silverstripe atm -
the code Camillle provided was put into a silverstripe template (ss
file) with only very little modifications (see other post, the base
href for example, just to have it find its css and javascript) - but
the code itself is that - so when I'd point you to the files on the
server, it wouldn't look much differently :-)
But as the site makes heavy use of css, please test your strings in
your webbrowser's webdevelopment tools - for example when you change
the button text, make sure it fits the button, etc.
I will create separate strings for header and paragraph, but only one
string for the paragraph. So for example on the discovery page there
is:
<div class="line_bottom line_top clearfix">
<a name="contributing"></a>
<img src="mysite/images/contributing.png"
width="190" height="200" alt="Contributing is even easier than ever!"
class="left"/>
<h3>Contributing is even easier than ever!</h3>
<p><a
href="https://gerrit.libreoffice.org/">Gerrit</a> is used for our code
review and easy contribution - close to 1500 code changes reviewed and
merged with it!</p>
</div>
That will end up in a string
DISCOVER.ContributeTitle (with content "Contributing is even easier
than ever!") that will be used for both the alt-tag in the image as
well as for the content of the <h3>
And there will be another string
DISCOVER.ContributeText with content of '<a
href="https://gerrit.libreoffice.org/">Gerrit</a> is used for our code
review and easy contribution - close to 1500 code changes reviewed and
merged with it!' that will be used for the content of the <p> tag.
As those stings will contain other tags (links and linebreaks mostly),
make sure to use proper quoting. Feel free to change the quotes for
the links to ' if that makes it easier for you.
With that in mind, you should be able to start preparing the
translations. I'll prepare the en_US master that you then can use to
add your strings.
ciao
Christian
--
Unsubscribe instructions: E-mail to website+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/website/
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.