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

Feature Request: Add localized tags, so that you can search for Emojis in multiple languages #79

Open
NotoriousNico opened this issue Oct 31, 2024 · 2 comments

Comments

@NotoriousNico
Copy link

As of now, it's only possible to search for Emojis in the default System language.
But it would be nice to be able to search for Emojis in multiple languages.

For example: My system is set to English, but my native language is German.
Depending on in which language I communicate, I'd prefer to be able to search for Emojis in either English or German.

I'm thinking about having a setting that allows us to define a second language.

Environment

  • emoji-copy version(s): 25
  • OS: Ubuntu 24.10
@FelipeFTN
Copy link
Owner

FelipeFTN commented Nov 4, 2024

Hallo, @NotoriousNico! Thank you for opening this issue!!

Yeah, this might be a quite difficult feature to implement.
All the emojis are stored in a .db (sqlite) file, which you can found here: ~/.local/share/gnome-shell/extensions/emoji-copy@felipeftn/data/emojis.db.
So, you can take a quick seach into the database by running this:
sqlite3 ~/.local/share/gnome-shell/extensions/emoji-copy@felipeftn/data/emojis.db;
this will allow you to run SQL commands into the emojis database.
The table's name is also emojis, so you can do some queries like this:

  • sqlite> SELECT COUNT(*) from emojis;
  • sqlite> SELECT * FROM emojis;
  • ...

What happen is, the emoji's name is stored as a simple string into this sqlite file. So, I don't know how a location or translation would be possible 🤔 Any ideas?

@NotoriousNico
Copy link
Author

Hello @FelipeFTN!

And thank you for your reply.
I don't know if it helps, but the Emoji Picker Smile offers such a feature:

https://github.com/mijorus/smile/

However, this is a full Flatpak App and the GNOME Extension is complimentary.

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

No branches or pull requests

2 participants