You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PDF Format is influenced by User Locale of the Account running an export script #852
Describe the bug
When exporting a workbook as a PDF with server-client-python. The Locale/Language of the user who generated the Personal Access Token (PAT) changes the format of the exported PDF.
We want to export our Workbook with the Locale set to German or English in the script, but are limited to the one set in the user profile. This is an issue that results in unwanted format changes in the workbook if the user changes their preferred language for the Tableau-Server UI.
Versions
Details of your environment, including:
Tableau Server version: 2020.4.3 (20204.21.0315.1000) 64-bit Linux
Python version: Python 3.9.4
TSC library version: 0.15.0
To Reproduce
Create a workbook with data in the thousands and a date displayed.
Export the workbook as a PDF with server-client-python
Change the language settings to one that uses a different thousands separator
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. If this is still relevant, please comment to keep it open.
Support for choosing the export locale independent of the PAT owner's profile was added in PR #1481. PDFRequestOptions (and ImageRequestOptions / CSVRequestOptions / ExcelRequestOptions) now expose a language attribute that is forwarded as the ?language= query parameter, e.g. opts = TSC.PDFRequestOptions(); opts.language = 'de'; server.workbooks.populate_pdf(wb, opts). Closing as implemented.
Activity
github-actions commentedon Aug 18, 2026
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. If this is still relevant, please comment to keep it open.
jacalata commentedon Aug 25, 2026
Support for choosing the export locale independent of the PAT owner's profile was added in PR #1481. PDFRequestOptions (and ImageRequestOptions / CSVRequestOptions / ExcelRequestOptions) now expose a
languageattribute that is forwarded as the?language=query parameter, e.g.opts = TSC.PDFRequestOptions(); opts.language = 'de'; server.workbooks.populate_pdf(wb, opts). Closing as implemented.