Skip to content
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

New XCA v2.6.0 - It's not in English #532

Closed
SemoTech opened this issue Feb 27, 2024 · 10 comments
Closed

New XCA v2.6.0 - It's not in English #532

SemoTech opened this issue Feb 27, 2024 · 10 comments

Comments

@SemoTech
Copy link

SemoTech commented Feb 27, 2024

Hello,

I use the Darwin DMG in MacOS Monterey, so just dowloaded (from GitHub) and replaced my XCA v2.5.0 with XCA v2.6.0 and noticed it is not in English!
image

I subsequently downloaded v2.6.0 from the Mac App Store, and got this:
image

Looks like both locations have XCA defaulting to non-English and I cannot seem to find a way to change the language to English.

Lastly, even running the old XCA v2.5 that was always in English now defaults to non-English as the new version must have changed/left some other core files on my Mac.

Please advise.

Thank you.

@SemoTech SemoTech changed the title New XCA v2.6.0 - It's not English New XCA v2.6.0 - It's not in English Feb 27, 2024
@chris2511
Copy link
Owner

XCA assumes your system language is Indonesian.
It is stored in the file /Users//Library/Application Support/xca/defaultlang

In the menu select Berkas -> Bahasa -> inggris (English)

@Lotusshaney
Copy link

Lotusshaney commented Feb 27, 2024

That fix almost works, but some dialogs are still in Indonesian.
grab
As you can see the file requester is not in English

@SemoTech
Copy link
Author

SemoTech commented Feb 27, 2024

Thank you @chris2511 that worked.

Now why would XCA assume my system language is Indonesian when this is an English install and there are no apps doing this or any settings anywhere that have anything to do with Indonesia?

And seems not all sections were translated back into English from Indonesian:
image

And lastly, most important I had an existing .xdb file called "Personal.xdb" and the new XCA v2.6.0 no longer has a [File Menu] option (it is missing completely) to open a database. If I right click on "Personal.xdb" and open with XCA I get a notice about old security:
image

If I choose ignore a database called "default.xdb" opens and it is empty!
image

If I choose "change" and switch encryption it again opens empty!!

Where are all all my certificates and private keys???

Thanks.

@chris2511
Copy link
Owner

The Appstore variant uses a fixed database default.xdb
Please install the DMG file. It will open your database successfully.

@SemoTech
Copy link
Author

The Appstore variant uses a fixed database default.xdb Please install the DMG file. It will open your database successfully.

OK, that part was not intuitive and good to know that the App Store version cannot use anyting but the default database and I guess is missing the [File] and [Token] Menus on purpose I suppose.

I was able to get my database loaded and upgraded the encryption on it. Thank you.

Please note the Indonesian default/system language option seems to be hardcoded as in v2.5 it is correctly detected as English but both App store and Github versions of XCA 2.6 default to Indonesian. Even after changing to English there are still stragglers in other languages:
image

Lastly in the Github version 2.6.0 if you open a custom database, enter the password and it loads, then you quit XCA and restarts it opens without the database (does not remember the last database used) like v2.5 used to and you have to manually re-load it from the File menu

Thank you.

@chris2511
Copy link
Owner

Select "Set as default database" when the preferred database is open and it will be opened automatically next time.

@SemoTech
Copy link
Author

Select "Set as default database" when the preferred database is open and it will be opened automatically next time.

Brilliant. Works great @chris2511 thank you.

I guess all that remains and needs fixing, that I know of, for v2.6.0 is the language issues.

@Lotusshaney
Copy link

Any ideas on this problem ?

@DocCyblade
Copy link

Was going to give this software a try and well it does not come up in English on MacOS. As the above have said. I think it may because English is not listed in the info.plist file?

I noticed the en_US was missing from the list. I hacked it (you should not do that, MacOS will find out and the signed hashes won't match it will not run the app. However if you do this quickly it works for the first run then app won't start by design) and added the missing option and it works. So looks like the app options need updated. Hope this helps!

plist file before changed
Screenshot 2024-03-07 at 3 48 01 PM

When run you get this
Screenshot 2024-03-07 at 3 48 25 PM

and

Screenshot 2024-03-07 at 3 49 39 PM

Updated the plist file (hacked it)
Screenshot 2024-03-07 at 3 48 43 PM

Now you get English

Screenshot 2024-03-07 at 3 48 58 PM

Screenshot 2024-03-07 at 3 50 01 PM

@Lotusshaney
Copy link

Lotusshaney commented Mar 7, 2024

Get @DocCyblade a beer, 100% works !, to get around the codesigning resign it in the dirty fashion
sudo codesign --force --deep -s - /Applications/xca.app

It looks to be missing from the following file in the source, lang/CMakeLists.txt at line 5 or 6

list(APPEND XCA_QT_LANGUAGES de fr ja pl ru tr es it sk bg)
list(APPEND XCA_LANGUAGES id hr nl pt_BR zh_CN fa ${XCA_QT_LANGUAGES})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants