[Qgis-user] Locale not respected by layouts

Richard Duivenvoorde rdmailings at duif.net
Wed Jun 9 04:01:16 PDT 2021


Hi,

this is currently a "QEP" (which received a grant for 2021), see:
https://github.com/qgis/QGIS-Enhancement-Proposals/issues/210

you could add your example to it?

Regards,

Richard Duivenvoorde

On 6/9/21 12:49 PM, António Pestana wrote:
> I'm on QGIS 3.18.3 using the "Portuguese Portugal" (pt_PT) locale. For this locale the decimal separator is a comma. However, when creating a layout that includes a table having decimal fields, the decimal separator used by QGIS becomes a point! How can I prevent this odd behavior?
> 
> Use the link <https://drive.google.com/drive/folders/1vrGAU00HEzVtPwTQ57J-7GBXEV3QDtS2?usp=sharing> to load three (very small) files, as follows:
> - "Points", a geopackage consisting of one points layer only, whose attribute table has decimal fields;
> - "TableWithCommas", printscreen of the attribute table as displayed by the "Open Attribute Table" command (the decimal separator is a comma, as it should be);
> - "LayoutWithoutCommas", printscreen of the Print Layout Window after adding the attribute table to the layout (the decimal separator is now a point).
> 
> António
> 
> 
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> 



More information about the Qgis-user mailing list