Difference between revisions of "WebSiteTranslation"

From Inkscape Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
= Wiki and web site =
= 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.
## 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.
Line 20: Line 19:
# 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 ===
== 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 36:
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 =

Revision as of 12:35, 5 June 2006

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://svn.sourceforge.net/svnroot/inkscape/inkscape_web/trunk inkscape_web
      You need subversion client to do this.
    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
  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