[QGIS-Developer] language dependency qgis_process

Raymond Nijssen r.nijssen at terglobo.nl
Thu Jan 19 00:03:34 PST 2023


Hi Michael,

I agree with Richard that algorithm outputs should not be different when 
using other locales.

However, there's a Rename Field algorithm (native:renametablefield) that 
might be useful for you.

Kind regards,
Raymond


On 19-01-2023 08:37, Richard Duivenvoorde via QGIS-Developer wrote:
> Hi Michael,
> 
> I'm not 100% sure, but I would think that such fields should never be 
> translated?
> Not in Desktop nor in scripts?
> 
> What do other think?
> 
> Or has processing some language aware dict with all languages in it?
> 
> Regards,
> 
> Richard Duivenvoorde
> 
> On 1/17/23 22:37, Dr. Michael Hälsig via QGIS-Developer wrote:
>> Hi,
>> I am using qgis_process stand alone (Linux desktop or Linux headless 
>> server)
>> and run e.g. an overlap analysis, This algorithm adds a field 
>> 'Buffered_pc'.
>>
>> When I use the processing inside the QGIS desktop, the overlap 
>> algorithm names
>> the added field 'Gepuffert_pc', because I am using the German locale.
>>
>> But I need for the further processing the German version of the field 
>> name.
>>
>> Apparently qgis_process creates a file in ~/.config/Unknown Organization/
>> qgis_process.bin.conf with the content 
>> 'localized_data_paths=@Invalid()'. It
>> seems to be that qgis_process expects somewhere the path for the German
>> localization.
>>
>> How do I tell qgis_process to use the German locale?
>>
>> Thank you for any hints.
>>
>> Michael
>>
>>
>>
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the QGIS-Developer mailing list