omid / Persian-Calendar-for-Gnome-Shell

An extension for Gnome-Shell to show Persian date/calendar
https://extensions.gnome.org/extension/240/
GNU General Public License v3.0
386 stars 31 forks source link

Gnome 43 support #117

Closed mhkarimi1383 closed 1 year ago

mhkarimi1383 commented 1 year ago

In ArchLinux I got Gnome 43.alpha using fcgu repository I will test out if it works w/o any extra workout and put the result here ;)

mhkarimi1383 commented 1 year ago

Here is the result Using Dracula Theme I'm also having a problem where my Persian Language is not working

image

omid commented 1 year ago

So... now it's on you to fix the issues and create a PR. :)

mhkarimi1383 commented 1 year ago

So... now it's on you to fix the issues and create a PR. :)

Persian Language was not working in older gnome versions also

omid commented 1 year ago

AFAIK it does :) I use it right now

mhkarimi1383 commented 1 year ago

It was not working for me :(

mhkarimi1383 commented 1 year ago

I have enabled fa_IR UTF-8 in my locale.gen

omid commented 1 year ago

I have enabled fa_IR UTF-8 in my locale.gen

and?

If you have the latest version of the extension, the persian lang should work without installing persian locale.

mhkarimi1383 commented 1 year ago

I have enabled fa_IR UTF-8 in my locale.gen

and?

If you have the latest version of the extension, the persian lang should work without installing persian locale.

For me it's not working how can I check version?

omid commented 1 year ago

Version of the extension is in the metadata.json file.

mhkarimi1383 commented 1 year ago

Oh I see I'm running version 98

omid commented 1 year ago

AFAICR it should work without the need of installing Persian locale

mhkarimi1383 commented 1 year ago

AFAICR it should work without the need of installing Persian locale

How can I chack if something is wrong with me? maybe a required package or file

omid commented 1 year ago

How did you install the extension? Github or extensions.gnome.org?

mhkarimi1383 commented 1 year ago

How did you install the extension? Github or extensions.gnome.org?

extensions.gnome.org

omid commented 1 year ago

Can you go to the state that you said the Persian language doesn't work?

mhkarimi1383 commented 1 year ago

Currently it's not working

omid commented 1 year ago

So please compress all contents of the following folder and send them here:

~/.local/share/gnome-shell/extensions/PersianCalendar@oxygenws.com

mhkarimi1383 commented 1 year ago

I will do it ASAP

omid commented 1 year ago

Also please keep the following command running, and then press "Alt+F2" then type "r" and then "enter".

sudo journalctl -f -g PersianCalendar@oxygenws.com

then paste the output here (if there is any)

mhkarimi1383 commented 1 year ago

PersianCalendar@oxygenws.com.tar.gz

mhkarimi1383 commented 1 year ago

There is no output with the command that you sent

omid commented 1 year ago

There should be a file in the locale folder in ~/.local/share/gnome-shell/extensions/PersianCalendar@oxygenws.com, but there isn't any!

I checked the extension in extensions.gnome.org and it exists. So most probably you deleted it manually. So you can remove the whole extension and add it again.

mhkarimi1383 commented 1 year ago

There should be a file in the locale folder in ~/.local/share/gnome-shell/extensions/PersianCalendar@oxygenws.com, but there isn't any!

I checked the extension in extensions.gnome.org and it exists. So most probably you deleted it manually. So you can remove the whole extension and add it again.

I have not removed any file but I will reinstall it

mhkarimi1383 commented 1 year ago

Reinstalled extension but having same problem

also I have noticed typo problems in file names for locale :) e.g persian-calendar.po should be persian-calender.po

omid commented 1 year ago

I downloaded the file directly from ego (extensions.gnome.org) and the locale is there. So if you are sure sure your setup in OK, then it can be a bug in gnome-shell (alpha)

And calender is wrong, calendar is correct. If you are referring to this.

mhkarimi1383 commented 1 year ago

My files also complete....

omid commented 1 year ago

Last time it was not complete. So again compress and send the directory.

mhkarimi1383 commented 1 year ago

files are not complete again I think something is happening after installation or restarting my shell

SomeGuy04 commented 1 year ago

ik im late but do you have packages ttf-liberation andttf-dejavu installed on your arch setup?

mhkarimi1383 commented 1 year ago

I will check but it should not be related to my problem that files are removing automatically :(

mhkarimi1383 commented 1 year ago

ttf-dejavu was missing I will reinstall plugin and tell the result here

mhkarimi1383 commented 1 year ago

Not worked :/

mhkarimi1383 commented 1 year ago

and locale dir is empty again :(

omid commented 1 year ago

Since the release of 43 is close, I checked it and seems like you don't have po2json locally and so there is no way to generate the language files. You can install is with npm -g install po2json command.