﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
6875	Patches with updated Swedish translations and scripts to simplify XML translation	Stefan Asserhäll <stefan.asserhall@…>	Janne Grunau	"Here are two patches with updated Swedish translations, including four generic scripts to simplify XML translation. I did this because I found that a lot of strings were not translated in the GUI. It seems that no translation has ever been done for <value> tags in the XML files.

The script ""lupdate.sh"" extracts strings for translation from all XML files and runs lupdate, and ""lrelease.pl"" deposits the translated strings back into the XML files after the translation and runs lrelease. The second script has a verbose flag (-v) and can take one or more languages as parameters.

The workflow becomes (with Swedish as example language):
  cd mythtv/i18n[[BR]]
  ./lupdate.sh[[BR]]
  linguist mythfrontend_sv.ts[[BR]]
  ./lrelease.pl -v sv[[BR]]

  cd mythplugins[[BR]]
  ./lupdate.sh[[BR]]
  linguist myth*/i18n/*_sv.ts[[BR]]
  ./lrelease.pl -v sv[[BR]]

The patch also includes i18n directories for some mythplugins that didn't have them, and fixes som missing tr() in the source code.

I hope this can be useful for other translators, as well. I could add this information to the wiki, if you'd like."	patch	closed	trivial	0.22	Translations	head	low	fixed			0
