Wrong language, unable to change to Italian

Bug #1976178 reported by Dolomites
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Pinta
Fix Committed
Undecided
Unassigned

Bug Description

I installed Pinta on OSX Italian version, and Pinta appears in English. I tried also to overwrite the Italian files, also in EN folder, but with no results.

Tags: osx
Revision history for this message
Cameron White (cameronwhite91) wrote :

Are you using Pinta 2.0?
I believe it should be following the system language & region settings

Revision history for this message
Dolomites (dolomites81) wrote :

2.0.2, the latest available

Revision history for this message
Cameron White (cameronwhite91) wrote :

Thanks, would you be able to attach a screenshot of what your Language & Region settings are in the system preferences?

Revision history for this message
Dolomites (dolomites81) wrote :
Revision history for this message
Cameron White (cameronwhite91) wrote :

Thanks!
Yeah this is weird, I can get Pinta to use the correct language when launching from a terminal, but it doesn't work from Finder even after restarting
Running `env LANG=it open /Applications/Pinta.app` also works if the system language is set to something else.

Revision history for this message
Cameron White (cameronwhite91) wrote :

Ah, I think it might be that the terminal by default set the LANG variable based on the system language setting

Changed in pinta:
status: New → Confirmed
tags: added: osx
Revision history for this message
Dolomites (dolomites81) wrote :

Is there a way to change manually?

Revision history for this message
Cameron White (cameronwhite91) wrote :

yeah, you would just need to have the 'LANG' environment variable set to 'it'

Revision history for this message
Dolomites (dolomites81) wrote :

Where? Library?

Revision history for this message
Cameron White (cameronwhite91) wrote :

If you don't want to launch pinta from a terminal, steps like https://apple.stackexchange.com/a/424695 could be used to set the LANG environment variable globally might work (and may require a reboot after to take effect)

Revision history for this message
Diskrete (diskrete) wrote :

Same problem here (macOS Ventura). The language is ignared, english is used as default unlike all other apps, from command line it works, but there is no way to create a graphical starter without loosing the language. /apple.stackexchange.com/a/424695 does not help.

Revision history for this message
Seb Bonnard (sebma) wrote (last edit ):

I have the same problem.

I've installed Pinta v2.1.1 on macOS Monterey (12.6) using Homebrew :

% brew info pinta | gawk -F"[/ ]" '/usr/{print $(NF-1)}'
2.1.1
% locale | grep LANG
LANG="fr_FR.UTF-8"
%

When I click on the /Applications/Pinta.app icon, it launches Pinta in english instead of french.

But when I type this from a ZSH Shell, Pinta starts in French (as expected)

% open -a pinta
%

Changed in pinta:
milestone: none → 2.2
Revision history for this message
grofaty (grofaty) wrote :

I tested:
LANG="fr_FR.UTF-8"; ./Pinta
on Pinta 2.2-dev latest master on Ubuntu 23.10 and I can't reproduce. Pinta starts in French.

This may be fixed or it is macOS specific problem.

Revision history for this message
Cameron White (cameronwhite91) wrote :

I think it's still valid - the issue seems to be more with launching Pinta graphically (not from the terminal), where the LANG variable is not set. It seems like dotnet is not picking up the system language setting correctly.

Revision history for this message
Cameron White (cameronwhite91) wrote :
Changed in pinta:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.