gaphor / gaphor.github.io

Website for Gaphor, the simple modeling tool
https://gaphor.org
GNU General Public License v3.0
6 stars 10 forks source link

Convert the language selector to a drop-down box #61

Closed ovari closed 1 year ago

ovari commented 2 years ago

From this:

image

to this:

image

What do you think?

Thank you

milotype commented 2 years ago

I agree with @ovari.

Make a language drop-down list of (translated) languages, but place it into the website's menu as a separate item, for instance called "Languages". I'd suggest to define a percentage of translation, in order to define which languages are represented. IMO, translations should be at least 85 % translated in order to be considered.

That way the <nav class="col-12 d-flex justify-content-end language-navigation"> would be obsolete.

danyeaw commented 2 years ago

I would assume this is lower priority without more translations. I agree that a drop-down would be better in the future, but it doesn't really seem to be something we need immediately.

milotype commented 2 years ago

I agree about the current low priority.

But that's why I've proposed Create 07-mulitingual.md #32 which would invite translators to translate the app and website, thus increasing the possibility of having more languages ...

And I still would suggest to implement my feature request Automatically Select Locale for Users #62, as well as placing a "Language" item into the website's menu for selecting languages.

I'm really sorry, but I'm not a programmer, so I can't help implementing it.

ovari commented 2 years ago

IMO, translations should be at least 85 % translated in order to be considered.

Please show all translations even if they are below 85%.

Some reasons to provide translations at all percentages are:

Thank you

danyeaw commented 1 year ago

Here are a few sites also using Jekyll that have dropdowns:

I'm kind of digging the translation logo as the dropdown button, what do others think?

ovari commented 1 year ago

https://f-droid.org/ - gray dropdown selector

danyeaw commented 1 year ago

Thanks for the input @ovari!

@amolenaar Since you created the original site style, do you have any input?

milotype commented 1 year ago

Suggestion: if you make a dropdown box for the languages, I'd suggest to add a separate menu item at the bottom of the list with a link to https://hosted.weblate.org/engage/gaphor/, for inviting users to translate. The text could be "Help translating", or something like that. This is something I found at https://joinpeertube.org/ and I find it's a slick solution. language-menu

As an alternative I'd suggest to at least add a paragraph about translating in Gaphor's Contribute webpage https://gaphor.org/contribute.

For intance: Help translating Gaphor at Hosted Weblate.

In order to do that, a new string Help translating Gaphor at [Hosted Weblate](https://hosted.weblate.org/engage/gaphor/). would have to be added to the translation file https://hosted.weblate.org/projects/gaphor/gaphor-github-io/.

ovari commented 1 year ago

magyar should be written with a lowercase m.

@danyeaw can you please change Magyar to magyar?

Thank you

danyeaw commented 1 year ago

Hi @ovari, done!

ovari commented 1 year ago

@danyeaw can the list be sorted by language code?

Does https://github.com/gaphor/gaphor.github.io/pull/126 need to be deleted?

Thank you

ovari commented 1 year ago

@danyeaw can you please merge https://github.com/gaphor/gaphor.github.io/pull/129 instead of https://github.com/gaphor/gaphor.github.io/pull/126 ?

Thank you