Difference between revisions of "WebSiteTranslation"

From Inkscape Wiki
Jump to navigation Jump to search
(→‎Translation of web site: updating list of translatable content)
m (typo)
 
(12 intermediate revisions by 8 users not shown)
Line 1: Line 1:
Go Back to the main [http://wiki.inkscape.org/wiki/index.php/Translation_information Translation information] page.
'''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 =
= 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. Be aware that the module is about 40MB to download because of screenshots!
## 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 43: Line 45:


= Wiki =
= Wiki =
Translating the pages of the wiki is quite straightforward.


Translating the pages og 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.


In a few steps :
Don't forget to get some information about [[wiki syntax]] before creating/modifying some wiki pages.
- 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 [[http://wiki.inkscape.org/wiki/index.php/Main_Page main wiki page of Inkscape]].
 
- then, start a new page for each wiki page translation, and link translated page to the main page of your language.
= 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.


Don't forget to get some information about wiki syntax before creating/modifying some wiki pages.


= Translation information =
Go Back to the main [[Translation information]] page.


= Release notes =
[[http://wiki.inkscape.org/wiki/index.php/Release_Notes Release notes]] simply consist in a wiki page.
You can apply the process stated [[http://wiki.inkscape.org/wiki/index.php/WebSiteTranslation#Wiki above]] for translating this content.


== See also ==


= Translation information =
* [[WebsiteEditing]]
Go Back to the main [http://wiki.inkscape.org/wiki/index.php/Translation_information Translation information] page.

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

  1. There are two ways of getting files that you need to translate website:
    1. 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!
    2. OR Use online browser of subversion repository and download files manually.
    3. 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)
  2. 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...).
  3. Now you can start your translation. Files are simple text files with HTML tags and in UTF-8 encoding.
  4. If you have the file translated and really want to submit it, read it once more and correct errors ;)
  5. Submit the file to the patch tracker at Sourceforge and mark it as a translation.
  6. 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.


See also