Feature request #484

Get rid of HTML in messages for translation

Added by maris-gis-gmail-com - about 16 years ago. Updated over 13 years ago.

Assignee:Magnus Homann
Category:Translations and international
Pull Request or Patch supplied: Resolution:fixed
Easy fix?:No Copied to github as #:10543


Long HTML containing messages are hard to translate. I.e. [pluginname]GuiBase has string with ~14000 chars and most of them are just HTML with style definition. It's a nightmare to translate it.

qgis_wish1.png - Example of one translatable string (small par of whole string) (76.5 KB) maris-gis-gmail-com -, 2006-12-25 05:44 AM


#1 Updated by Gary Sherman about 16 years ago

The only place I could find this is in the plugin builder template .ui file. Are there others?

These strings are for developer use and don't need to be translated for general use.

#2 Updated by Gavin Macaulay - about 16 years ago

Most (all?) of the plugins that have some explanatory text in their main dialog have this problem. If one sets the text in a QTextEdit using designer, it seems to put lots of formatting stuff around the text. For an example, see https://svn.qgis.org/trac/browser/trunk/qgis/src/plugins/gps_importer/qgsgpspluginguibase.ui

#3 Updated by Magnus Homann about 15 years ago

  • Status changed from Open to In Progress

Do the format have a point? It seems to me that it would be possible to remove much of the formatting, if not all???

#4 Updated by Magnus Homann about 15 years ago

A proposed solution is implemented in ece9d9b5 (SVN r7797). Please comment.

#5 Updated by Tim Sutton over 14 years ago

  • Status changed from In Progress to Closed
  • Resolution set to fixed

Closed as old. Solution has been proposed, no feedback given.



#6 Updated by Anonymous over 13 years ago

Milestone Version 1.0.0 deleted

Also available in: Atom PDF