Project

General

Profile

Bug #16523

Feature #10034: Translation web platform

Bug #16521: Add Indonesian to the translation platform

Translation Server: Clearify languages in weblate-settings

Added by hefee 9 months ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/04/2019
Due date:
% Done:

0%

Feature Branch:
Type of work:
Discuss
Blueprint:
Starter:
Affected tool:
Translation Platform

Description

In order be able to enable/disable languages easily, we should have one place to define the supported languages.
As master reference I want to use manifests/weblate/languages.pp (in puppet-tails).

But the languages are not used for the templates/weblate/settings.py.erb (puppet-tails). Even worse the LANGUAGES list differs a lot from the languages in languages.pp. Or is the LANGUAGES list in weblate settings the list of supported translations for the Weblate interface?

https://translate.tails.boum.org/languages/ in contrast output the list that we have in manifests/weblate/languages.pp.

History

#1 Updated by emmapeel 9 months ago

The list at templates/weblate/settings.py.erb does indeed mark the languages for the translation interface. Translators can choose the interface language on their profile.

This is the procedure for adding a new language to translate in weblate:

https://docs.weblate.org/en/weblate-2.19.1/admin/quick.html#adding-translation

But that will need the .pot files to be present, and our setup does not allow that.

So what I have done previously is:

- change the configuration for ikiwiki, adding a new language at ikiwiki.setup and ikiwiki-cgi.setup
- build the wiki
- commit the new language files
- run load_po in weblate shell

#2 Updated by emmapeel 9 months ago

  • Status changed from Confirmed to Resolved

#3 Updated by intrigeri 5 months ago

  • Assignee deleted (emmapeel)

Also available in: Atom PDF