Project

General

Profile

Bug #617

Do not export empty translations

Added by Yannick Warnier over 9 years ago. Updated over 7 years ago.

Status:
Needs more info
Priority:
Normal
Assignee:
-
Start date:
18/02/2010
Due date:
18/02/2010
% Done:

0%

Estimated time:
0.25 h
Complexity:
Easy

Description

When a translation to a specific language is empty, it is exported nevertheless in the translation pack, which means that it appears in Chamilo 1.8 as empty strings (or rather... nothing appears).
In the normal process, we do not export these variables, which allow a fallback to the English version if there is no available translation.

$MessagesSent = "Número de mensajes enviados";
$MessagesReceived = "Número de mensajes recibidos";
$CountFriends = "Número de contactos";
$ThisPluginHasbeenDeletedFromDashboardPluginDirectory = "";
$EnableDashboardPlugins = "";
$CoursesListInPlatform = "";
$AssignedCoursesListToHumanResourceManager = "";
$AssignedCoursesTo = "";

History

#1

Updated by Yannick Warnier over 9 years ago

  • Assignee changed from Yannick Warnier to Sven Vanpoucke

Removed comment meant to be for another task.

#2

Updated by Yannick Warnier over 9 years ago

  • Due date set to 18/02/2010
  • Status changed from Assigned to Needs more info
  • % Done changed from 0 to 90
  • Estimated time set to 0.25 h
  • Complexity changed from Normal to Easy

The following commit should solve the problem. Please check and apply to translate.chamilo.org

http://code.google.com/p/chamilo/source/detail?r=514186a7614c7dcde166d55ca60a658021496215&repo=chamilo

#3

Updated by Sven Vanpoucke over 9 years ago

Code is updated on server

#4

Updated by Marko Kastelic over 9 years ago

I'm stucked with problem related to the Bug #743. It will help a lot if there is possibility to download langpack with empty/untranslated strings.
I'm aware of the problem described above, but can i suggest to add secondary download link with full list of langvars for translators only ?

#5

Updated by Stefaan Vanbillemont over 8 years ago

  • Target version set to 2.1.0
#6

Updated by Stefaan Vanbillemont almost 8 years ago

  • Target version changed from 2.1.0 to Backlog (default)
#7

Updated by Stefaan Vanbillemont over 7 years ago

  • Assignee deleted (Sven Vanpoucke)
#8

Updated by Stefaan Vanbillemont over 7 years ago

  • % Done changed from 90 to 0

Also available in: Atom PDF