Difference between revisions of "Translation from 4.2"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Steps to do it: (Zwischenspeicherung))
(Steps to do it)
Line 34: Line 34:
 
# Creating templates as POT-Files
 
# Creating templates as POT-Files
 
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html oo2po]
 
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html oo2po]
#* ''oo2po --progress=verbose --pot aoo/main/en-US.sdf PotFiles-UI''
+
#* ''oo2po --progress=verbose --pot en-US.sdf PotFiles-UI''
#* This can be done with the script ''UpdateTranslation.sh''
+
#* Now ''PotFiles-UI'' also contains ''helpcontent2''. This is the content for the [[Localization_for_developers#Upload|separate project]] ''Apache OpenOffice 4.x Help''. The subdirectory ''helpcontent2'' has to be moved into the directory ''PotFiles-HELP''.
 
#*:
 
#*:
#  
+
# Updating the database with the template files (UI and HELP)
 
+
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-stores pootle update-stores]
These scripts will be published soon.
+
#*:
 
+
# Merge templates with existing PO-Files for each language (UI and HELP)
 +
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-against-templates pootle update-against-templates]
 +
#*:
 +
The steps on the Pootle server can be done with the script ''UpdateTranslation.sh''. This script will be published soon.
  
 
Now the teams can translate the [https://translate.apache.org/projects/aoo40 AOO UI] and the [https://translate.apache.org/projects/aoo40help AOO HELP].
 
Now the teams can translate the [https://translate.apache.org/projects/aoo40 AOO UI] and the [https://translate.apache.org/projects/aoo40help AOO HELP].

Revision as of 19:56, 6 January 2019

Description

This will be a brief documentation of the translation process There are two steps doing at different time of the translation process.

From SVN to Pootle Web Frontend

In this step you prepare the recent code stings for translation. You prepare a template file with all strings to have to be translated. They are imported into Pootle.

The following graphic shows it. Please click on it to get a larger one.

Steps to do it

  1. Create a build system
  2. Checkout the recent code base (normally the trunk branch)
  3. Build AOO successfully
  4. Create the template as en-US.sdf
  5. Copy the file en.US.sdf to the Pootle backend
    • You need an access to the Pootle server (translate-vm.apache.org)
    • The Pootle server runs under Ubuntu, so you have to be familiar with GNU/Linux.
  6. Creating templates as POT-Files
    • Detailed description using oo2po
    • oo2po --progress=verbose --pot en-US.sdf PotFiles-UI
    • Now PotFiles-UI also contains helpcontent2. This is the content for the separate project Apache OpenOffice 4.x Help. The subdirectory helpcontent2 has to be moved into the directory PotFiles-HELP.
  7. Updating the database with the template files (UI and HELP)
  8. Merge templates with existing PO-Files for each language (UI and HELP)

The steps on the Pootle server can be done with the script UpdateTranslation.sh. This script will be published soon.

Now the teams can translate the AOO UI and the AOO HELP.

From Pootle Web Frontend to SVN

Personal tools