Re: [Qgis-developer] How to get a string's english translation with pyhton?

2011-05-09 Thread Mayeul Kauffmann
Hi, Just to help those who might help Ricardo: The plugin ProfileFromLine works only in English, not in other languages. The buggy python lines are around here: http://hub.qgis.org/projects/profilefromline/repository/revisions/master/entry/ProfileFromLine.py#L254 if out of extent in strValue or

[Qgis-developer] How to get a string's english translation with pyhton?

2011-05-08 Thread Ricardo Filipe Soares Garcia da
Hello list in order to identify pixel values I'm using QgsRasterLayer.identify() This method returns a tuple, with first value being a boolean (by the way, see ticket[1] on trac). The second value is a dictionary with band names as keys and pixel value. I want to check for the pixel value and,