PHPDesktop Localization - SpellCheck, Dictionary

33 views
Skip to first unread message

G C

unread,
Jan 13, 2025, 2:44:32 PMJan 13
to PHP Desktop
Hi Czarek !
I hope you are GREAT !
MANY Thanks for PHPDesktop ! It seems to be very promising !


Is there possible to setup the app to support user Locale's ?

Based on the guidance I have added in SETTINGS.json Polish language
"command_line_switches": {"lang": "pl"} - and it works well.

Also, I was trying to setup Spell Checker for Polish language without success, I was trying:
"spellcheck":{"dictionaries":"pl-PL","dictionaries":"en-US"},
"disable-spell-checking":true,
"override-spell-check-lang":"pl",
also I have pasted Polish Dictionary File: 'pl-PL-3-0.bdic' --- into '.\webcache\Dictionaries' --- together with English dictionary 'en-US-10-1.bdic'
manually deleted EN dictionary file 'en-US-10-1.bdic' is retrieve Automatically back once PHPDesktop restart

Thank you in advance !
Take Care :)

Czarek

unread,
Jan 16, 2025, 3:09:15 PMJan 16
to PHP Desktop
Thank you.

Adding an option and auto selecting languaged based on OS preferences should be straifghtforward.

For the spellchecker we should ask on the CEF forum how to best do this. See https://www.magpcss.org/ceforum/index.php .

Feel free to create an issue in the github tracker.

Reply all
Reply to author
Forward
0 new messages