-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only languages supported by Electron are declared as being supported to the OS #5717
Comments
Sorry about this! We'll take a look. |
Looks like #3871 ? (Possible workaround while waiting for a real solution: |
I believe this should be fixed by 65e107f . Could you give a try to the latest beta, please? |
Thanks for the quick fix. I can confirm that this is fixed in the latest beta for Windows. Looking at the code it looks like that it that it would work for In testing, I am still seeing the problem in the latest beta Is there a different platform name (i.e. different to |
@elmomalmo Could you be really specific about 'the problem?' - specifically, what is your OS locale, and then what are your locale-related environment variables? A debug log would also help us understand what's going on |
@scottnonnenberg-signal It's the same problem as described in the original issue report. Reading that should answer your question. |
@scottnonnenberg-signal Please ignore my previous reply, I was mistaken. The problem (see original report) still exists for all Macs. I can see where the code is going wrong. As a result of the fix, new The folders need to be created in To be clear, the originally described problem is fixed on Windows, but not on Mac. See my comment on the commit 65e107f#r66806125 |
@elmomalmo Sorry about this—we'll take another look. |
@elmomalmo could you try starting the app with |
@indutny-signal, thank you for looking into this. Running that command renders Signal using the Welsh language. Hopefully that helps you. For what it is worth, I think that this would have worked before 65e107f The issues isn't that Welsh isn't packaged and available in the application – it is there. The issue is that MacOS does *not* know that Welsh is supported. The In my original issue report you will see that if I create an empty Edit: Added "*not*" |
Gotcha. We will come up with a fix for this soon. Sorry again! |
Bug Description
A macOS application contains meta data in the Resources folder that declare to the operating system what languages are supported by the application. This is achieved by the presence of
<lang>.lproj
folders in the./Contents/Resources
folder within the application package. Note that in the Signal application these folders are empty and only serve to declare to the OS what languages are supported.In the Signal application package, the folders present are only those supported by Electron (presumably supported by Chrome) and not all of those supported by Signal via contributions in Transifex. This means that only a subset of the languages that Signal supports are actually available to Desktop users.
Steps to Reproduce
Actual Result:
Welsh does not appear in the list of languages that can be selected despite being supported.
Expected Result:
Welsh is supported and is included in the application and it should appear in the list of languages
Additional Notes
Post installation, if an empty
cy.lproj
folder is added to the./Contents/Resources
folder, then Welsh becomes available in the list and – upon next launch – the UI of the application appears in Welsh. See screenshots.Screenshots
Manually added folder:
Platform Info
Signal Version:
5.27.0-beta.3
production (M1)
Operating System:
macOS v12.0
Linked Device Version:
Link to Debug Log
The text was updated successfully, but these errors were encountered: