X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcin-manual-latex.git;a=blobdiff_plain;f=parts%2FTranslations.tex;fp=parts%2FTranslations.tex;h=d2f57059d51f013104f6251729e90929fa3b6e22;hp=6fcebb5caecf0e8340ae2788590a8cd1415ee35a;hb=3b0e6cb1ede7a880754c131d9de907bf4318b910;hpb=00b3f32aaead93dbd05238a92b5027839a2e77e0 diff --git a/parts/Translations.tex b/parts/Translations.tex index 6fcebb5..d2f5705 100644 --- a/parts/Translations.tex +++ b/parts/Translations.tex @@ -3,10 +3,11 @@ There are several \textit{po} files for various languages to make Cinelerra more usable for non-English countries. A program, \texttt{xlat.C}, assists in providing several variations of text files that can be used in order to allow anyone to help make meaningful translations. All of the \textit{po} files are located in Cinelerra’s \texttt{/po} subdirectory. There are 3 different ways to proceed described below. -Because Cinelerra frequently is changing, it is a good idea to start by building a new \texttt{cin.po} file which contains the latest messages/words in English to be translated, along with a comment line of the routine name and line number. To create this, run the following line from a window: +Because Cinelerra frequently is changing, it is a good idea to start by building a new \texttt{cin.po} file which contains the latest messages/words in English to be translated, along with a comment line of the routine name and line number. To create this, run the following lines from a window: \begin{lstlisting}[language=bash,numbers=none] -/{your cinelerra directory}/po/xlat.sh > /tmp/cin.po +cd /{your top level cinelerra directory} +./po/xlat.sh > /tmp/cin.po \end{lstlisting} \begin{description} @@ -17,7 +18,8 @@ Because Cinelerra frequently is changing, it is a good idea to start by building To use the msgmerge command after creating a new cin.po as suggested previously: \begin{lstlisting}[language=bash,numbers=none] -/{your cinelerra directory}/po/xlat.sh > /tmp/cin.po # use /tmp as a temporary place +cd /{your top level cinelerra directory} +./po/xlat.sh > /tmp/cin.po # use /tmp as a temporary place cp /{your cinelerra directory}/po/xx.po /tmp/xx.po # substitute your language for x msgmerge -U /tmp/xx.po /tmp/cin.po # xx.po will be overwritten to include updates \end{lstlisting}