Difference between revisions of "WebSiteTranslation"
m (typo) |
|||
(18 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
'''The website translation info on this page is outdated. Please refer to [[WebSite#Website_Editor]] to learn how to translate the website contents.''' | |||
Go Back to the main [[Translation information]] page. | |||
= Translation of web site = | |||
# There are two ways of getting files that you need to translate website: | # There are two ways of getting files that you need to translate website: | ||
## Checkout actual svn version of inkscape_web module ([http://inkscape.org/svn.php Working with SVN]). To checkout the inkscape_web module use command: <pre>svn co https://svn.sourceforge.net/svnroot/inkscape/inkscape_web/trunk inkscape_web</pre> You need subversion client to do this. | ## Checkout actual svn version of inkscape_web module ([http://inkscape.org/svn.php Working with SVN]). To checkout the inkscape_web module use command: <pre>svn co https://inkscape.svn.sourceforge.net/svnroot/inkscape/inkscape_web/trunk inkscape_web</pre> You need subversion client to do this. Be aware that the module is about 175MB to download because of screenshots! | ||
## OR Use [http://svn.sourceforge.net/viewcvs.cgi/inkscape/inkscape_web/trunk/ online browser of subversion repository] and download files manually. | ## OR Use [http://svn.sourceforge.net/viewcvs.cgi/inkscape/inkscape_web/trunk/ online browser of subversion repository] and download files manually. | ||
## Files you probably want to translate are: | ## Files you probably want to translate are: | ||
Line 14: | Line 17: | ||
##* submit2webmaster-en-form.inc | ##* submit2webmaster-en-form.inc | ||
##* svn-en.inc | ##* svn-en.inc | ||
##* screenshots/* | |||
##* showcase/* | |||
##* docs/* (at least main page for docs) | |||
# Copy these files and replace "en" string in their name according to the ISO code of your language ("de" for german, "fr" for french, etc...). | # Copy these files and replace "en" string in their name according to the ISO code of your language ("de" for german, "fr" for french, etc...). | ||
# Now you can start your translation. Files are simple text files with HTML tags and in UTF-8 encoding. | # Now you can start your translation. Files are simple text files with HTML tags and in UTF-8 encoding. | ||
Line 20: | Line 26: | ||
# Announce the translated file in the patch tracker in inkscape-translator(and optionally in inkscape-devel) mailing list. Persons responsible for updates of website will reply to you and/or submit the new "patch" directly. | # Announce the translated file in the patch tracker in inkscape-translator(and optionally in inkscape-devel) mailing list. Persons responsible for updates of website will reply to you and/or submit the new "patch" directly. | ||
If the translation of website is new, the process of making new translation available can take a bit longer because of a need to create corresponding flag and check consistency of the translation. | If the translation of website is new, the process of making new translation available can take a bit longer because of a need to create corresponding flag and check consistency of the translation. | ||
== Translating news and status == | |||
News and status information are available for translation too. News items are stored in the /news directory of inkscape_module in separate subdirectories named by language version. The structure of directory with news is: | News and status information are available for translation too. News items are stored in the /news directory of inkscape_module in separate subdirectories named by language version. The structure of directory with news is: | ||
<pre> | <pre> | ||
Line 37: | Line 43: | ||
To translate news into your language download/checkout 00x.inc file from "en" directory, translate and submit to the directory of your language(file has to be in UTF-8 encoding) or submit to the patch tracker and announce on the inkscape-translator list. | To translate news into your language download/checkout 00x.inc file from "en" directory, translate and submit to the directory of your language(file has to be in UTF-8 encoding) or submit to the patch tracker and announce on the inkscape-translator list. | ||
If you want to translate status information, the structure of directories is like in the case of news, only the name of directory is different. | If you want to translate status information, the structure of directories is like in the case of news, only the name of directory is different. | ||
= Wiki = | |||
Translating the pages of the wiki is quite straightforward. | |||
In a few steps: | |||
*start by creating a main page for your language: create a new page (with an explicit translated title), and provide a link to it from the [[Template:Main_Page/Localized_versions|main page localization template]] (this is transcluded in the [[Main Page|main pages]] of the various languages). | |||
*then, start a new page for each wiki page translation, and link translated page to the main page of your language. | |||
Don't forget to get some information about [[wiki syntax]] before creating/modifying some wiki pages. | |||
= Release notes = | |||
[[Release_Notes|Release notes]] simply consist in a wiki page. | |||
You can apply the process stated [[WebSiteTranslation#Wiki|above]] for translating this content. | |||
= Translation information = | |||
Go Back to the main [[Translation information]] page. | |||
== See also == | |||
* [[WebsiteEditing]] |
Latest revision as of 22:57, 4 January 2015
The website translation info on this page is outdated. Please refer to WebSite#Website_Editor to learn how to translate the website contents.
Go Back to the main Translation information page.
Translation of web site
- There are two ways of getting files that you need to translate website:
- Checkout actual svn version of inkscape_web module (Working with SVN). To checkout the inkscape_web module use command:
svn co https://inkscape.svn.sourceforge.net/svnroot/inkscape/inkscape_web/trunk inkscape_web
You need subversion client to do this. Be aware that the module is about 175MB to download because of screenshots! - OR Use online browser of subversion repository and download files manually.
- Files you probably want to translate are:
- includes/localized.inc (file contains string to translate menu)
- index-en.inc (main page of inkscape.org)
- discussion-en.inc
- download-en.inc
- mailing-lists-en.inc
- report-bugs-en.inc
- submit2webmaster-en.inc
- submit2webmaster-en-form.inc
- svn-en.inc
- screenshots/*
- showcase/*
- docs/* (at least main page for docs)
- Checkout actual svn version of inkscape_web module (Working with SVN). To checkout the inkscape_web module use command:
- Copy these files and replace "en" string in their name according to the ISO code of your language ("de" for german, "fr" for french, etc...).
- Now you can start your translation. Files are simple text files with HTML tags and in UTF-8 encoding.
- If you have the file translated and really want to submit it, read it once more and correct errors ;)
- Submit the file to the patch tracker at Sourceforge and mark it as a translation.
- Announce the translated file in the patch tracker in inkscape-translator(and optionally in inkscape-devel) mailing list. Persons responsible for updates of website will reply to you and/or submit the new "patch" directly.
If the translation of website is new, the process of making new translation available can take a bit longer because of a need to create corresponding flag and check consistency of the translation.
Translating news and status
News and status information are available for translation too. News items are stored in the /news directory of inkscape_module in separate subdirectories named by language version. The structure of directory with news is:
/news - en \- 2005 - 2006 \- 04 - 05 \- 001.inc - 002.inc ... - de - fr
To translate news into your language download/checkout 00x.inc file from "en" directory, translate and submit to the directory of your language(file has to be in UTF-8 encoding) or submit to the patch tracker and announce on the inkscape-translator list. If you want to translate status information, the structure of directories is like in the case of news, only the name of directory is different.
Wiki
Translating the pages of the wiki is quite straightforward.
In a few steps:
- start by creating a main page for your language: create a new page (with an explicit translated title), and provide a link to it from the main page localization template (this is transcluded in the main pages of the various languages).
- then, start a new page for each wiki page translation, and link translated page to the main page of your language.
Don't forget to get some information about wiki syntax before creating/modifying some wiki pages.
Release notes
Release notes simply consist in a wiki page. You can apply the process stated above for translating this content.
Translation information
Go Back to the main Translation information page.