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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

01 is Running in Arabic! #201

Open
ashajjar opened this issue Mar 31, 2024 · 8 comments
Open

01 is Running in Arabic! #201

ashajjar opened this issue Mar 31, 2024 · 8 comments

Comments

@ashajjar
Copy link

I am not sure if this a bug though 馃槄

It is the first time I run 01 on my Mac. The system language is set to English, I have however installed Arabic keyboard that I use occasionally. When I start 01, and hold the spacebar, it starts responding in Arabic. How can I change that?

  • OS: MacOS Sonoma 14.4.1
  • Python Version 3.12.2
@tyfiero
Copy link
Collaborator

tyfiero commented Apr 1, 2024

That's a weird one! Is it just the keyboard that's causing it to respond in Arabic? Are you speaking English to it when recording? I'm also noticing that you're using python 3.12, 3.11 works best, but I don't think that's the issue here

@ashajjar
Copy link
Author

ashajjar commented Apr 2, 2024

I spoke English to it.. I did not expect it to speak Arabic (silly me 馃槅 )

@ashajjar
Copy link
Author

ashajjar commented Apr 2, 2024

I will try with 3.11 and report back

@ashajjar
Copy link
Author

ashajjar commented Apr 2, 2024

I found out what the issue is, so my spotlight command is not COMMAND+SPACE it is rather OPTION+SPACE because I use command space to switch language on the keyboard!

The problem is that when I ask the interpreter to open Chrome for example, it switch to the next language which arabic in this case and starts typing in arabic!

Now the question is ! How do I change the defaul key mapping?

@tyfiero
Copy link
Collaborator

tyfiero commented Apr 2, 2024

That makes sense! You could change the system message in software->server->i.py to reflect your different key mapping, maybe include a sentence that tells it to explicitly use opt+space for spotlight

@ashajjar
Copy link
Author

ashajjar commented Apr 2, 2024

I changed that but did not work! should I rebuild?

@rbrisita
Copy link
Contributor

rbrisita commented Apr 5, 2024

I just encountered this issue and I don't have an Arabic keyboard installed. My guess is that 01OS is choosing the first language in a list to speak, hence Arabic is spoken. Also, I am on aarch64 Armbian 24.2.1 fresh install.

@rbrisita
Copy link
Contributor

rbrisita commented Apr 5, 2024

Lol, I fixed it by asking the 01 not to speak Arabic and it chose English and now responds in English.

I would really like to know the "Why?" though.

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

3 participants