How to translate Kdenlive

以下摘自:

http://www.kdenlive.org/contribution-manual/how-translate-kdenlive



How to translate Kdenlive

If you would like to help or add a new translation, please contact us on the Mailing List so that the translation work can be coordinated.

Translation tools

It is recommended to use a specific translation tool rather than edit in a text editor. Translation tools offer better support for search, translation memory and spelling checking. Feel free to use:

Note that there often exist localized tutorials on how to use the above listed programs. Try searching in your own language for a guide/tutorial on how to use them.

Making a new translation

Here is an example of creating a new translation for the French language, which has the ISO name «fr».

  1. Checkout kdenlive from SVN:
    svn co https://kdenlive.svn.sourceforge.net/svnroot/kdenlive/trunk/kdenlive
  2. Change directory to the "po" folder:
    cd po
    kdenlive.pot file is the original English text. It does contain the translation.
  3. kdenlive.po is the translation. For technical reasons, each kdenlive.po file needs to be placed in a subdirectory, in this case fr/kdenlive.po. So create a subdirectory with the iso name of the language:
    mkdir fr
  4. Copy and rename kdenlive.pot to the new directory:
    cp kdenlive.pot fr/kdenlive.po
  5. Translate the newly created po file using a .po editor, like one of the ones listed above.
  6. If you want to test the newly created po file, you need to set up the build system to include it. Copy a CMakeList.txt file from another po directory and change it:
    cp da/CMakeList.txt fr/CMakeList.txt
    kwrite fr/CMakeList.txt

    Change the da to fr.
    Then, add the name (fr) of your newly created directory to the file po/CMakeList.txt in order:
    kwrite CMakeList.txt
    Finally you have to run CMake as you would normally and install kdenlive to test your new translation.
  7. Present your work on the kdenlive mailing list and send us the po file for integration.

We do appreciate it if translators are willing to become registered as SVN writers, so they can update translations themselves.

Update a .po file (translation) with a .pot file (English source text)

To update an existing translation you need to install kdesdk-scripts to get extractrc needed for the first step, and gettext for the second step.

  1. Go to the kdenlive directory and run Messages.sh to update the .pot file.
    ./Messages.sh
    This script reads all strings that need to be translated from the source code files and adds them to kdenlive.pot.
  2. Go to the .po directory to merge the translated file with the updated .pot file:
    msgmerge -U fr/kdenlive.po kdenlive.pot
    (where fr is the ISO name of the language/translation you want to update). Then use a tool to edit fr/kdenlive.po

Reviewing a translation

  1. Get in contact with the translator or with Kdenlive mailing list.
  2. Checkout Kdenlive from SVN.
  3. Correct the translation and send a patch to the translator. Example: svn diff > mydiff.patch
If you want to get involved, send me a mail: jb (at) kdenlive org

   

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论
在Ubuntu系统中,可以使用kdenlive作为视频剪辑软件。要安装kdenlive,您可以按照以下步骤进行操作: 1. 打开终端(Ctrl+Alt+T)。 2. 输入以下命令来更新软件包列表:sudo apt update 3. 输入以下命令来安装kdenlive:sudo apt install kdenlive 4. 安装完成后,您可以在应用程序菜单中找到kdenlive,并通过点击它来启动该软件。 kdenlive是一个功能丰富的视频编辑软件,适合在Ubuntu环境中使用。它可以帮助您进行基本的视频剪辑、合并、分割、添加过渡效果和音频处理等操作。通过使用kdenlive,您可以轻松地编辑和制作自己的视频项目。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* [ubuntu20.04下的录屏与视频剪辑软件](https://blog.csdn.net/meng_152634/article/details/126329208)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] - *3* [ubuntu-desktop_setup:初始设置和自定义Ubuntu LTS桌面环境](https://download.csdn.net/download/weixin_42123296/18372031)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

IOT物联网小镇

赏点银子去植发

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值