realmazharhussain / nautilus-code

Extension for Nautilus (GNOME Files) which adds right-click menu items to open current folder in code editors e.g. VSCode, GNOME Builder
79 stars 8 forks source link

Add Hungarian translation #15

Closed infeeeee closed 1 year ago

infeeeee commented 1 year ago

Added Hungarian translation.

Hungarian is an agglutinative language, so I added suffixes to program names.

Thank you!

infeeeee commented 1 year ago

Still uses the English version for me. Maybe it's a problem that my locale is hu_HU but I created the hu translation? I set up hu as fallback. Or what am I doing wrong?

I think the locale is correctly set, everything is in Hungarian in nautilus, and everywhere, except this.

$ localectl
System Locale: LANG=hu_HU.UTF-8
               LANGUAGE=hu_HU:hu:en_US:en:C
    VC Keymap: hu
   X11 Layout: hu
    X11 Model: pc105
  X11 Options: terminate:ctrl_alt_bksp

I updated to this version

$ yay -Q | grep nautilus-code
nautilus-code-git 0.5+17+gd534015-1

Where nautilus extensions read the language code from? I couldn't really find any documentation about this.

realmazharhussain commented 1 year ago

You have to add language id of your translation to po/LINGUAS file in order for that translation to be installed. This PR didn't do that and I didn't notice it either.

Now I have added hu to LINGUAS file and translations should work.

infeeeee commented 1 year ago

Ah, sorry, I didn't notice that, thank you!