# How can I change language in new galaxy ng site?

**URL:** <https://forum.ansible.com/t/how-can-i-change-language-in-new-galaxy-ng-site/1223>\
**Category:** Get Help\
**Tags:** i18n, l10n, galaxy-ng\
**Created:** [October 1, 2023, 2:08pm UTC](https://forum.ansible.com/t/how-can-i-change-language-in-new-galaxy-ng-site/1223 "2023-10-01T14:08:28Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![zeitounator](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/zeitounator/32/898_2.png) [@zeitounator](https://forum.ansible.com/u/zeitounator)\
**Post date:** [October 1, 2023, 2:08pm UTC](https://forum.ansible.com/t/how-can-i-change-language-in-new-galaxy-ng-site/1223/1 "2023-10-01T14:08:28Z")

</div>

I just logued in using github to the new galaxy ng site. The site is partially translated to my mother language (French). Meanwhile, my system is in English, the primary language for my browser is English and I always browse technical site with that language (because it is almost always the primary language and because translations are usually unfinished as in this case). I don’t really get why this translation happens. I looked into my profile but didn’t see any setting I can change there.

How can I switch/force the Ansible NG UI to plain English? Thanks.

---

<div class="post-metadata">

**Author:** ![ptn](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/ptn/32/481_2.png) [@ptn](https://forum.ansible.com/u/ptn)\
**Post date:** [October 1, 2023, 2:43pm UTC](https://forum.ansible.com/t/how-can-i-change-language-in-new-galaxy-ng-site/1223/2 "2023-10-01T14:43:46Z")

</div>

Hi,

Sadly I don’t have a definitive answer. I looked to API calls from login and haven’t seen any language related data into payloads.

It could be an attribute present in user info / token, though I didn’t checked. If so, it might detect your Github account language, as it seems to be the only auth provider as of now. Just a supposition.

Also, have you tried login in private mode ? And / or from another browser ?

FWIW, I’m also French, setting all my tools in English as well and Galaxy portal seems to be fully in English on my side.

---

<div class="post-metadata">

**Author:** ![zeitounator](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/zeitounator/32/898_2.png) [@zeitounator](https://forum.ansible.com/u/zeitounator)\
**Post date:** [October 1, 2023, 3:09pm UTC](https://forum.ansible.com/t/how-can-i-change-language-in-new-galaxy-ng-site/1223/3 "2023-10-01T15:09:22Z")

</div>

Thanks for the insight. Actually this seems to be linked to my browser (Firefox) and probably a setting. I’m going to investigate that. I noticed that the translation appear when browsing the site anonymously in private mode (and my github account is in English anyway).

Just made the same test on Chrome and now I get everything in English. I’ll report back when I find what is causing the issue.

* * *

OK found… **settings \> Language \> prefered language**. For some reason I had set French on top of English, probably when visiting a French site proposing a bad translation in English and which did not propose to switch language as a feature as in the current case…

Where is the good place to ask for the feature in your opinion? Relying on browser preference is ok for first connection but loged in users should be able to set this as a preference.

* * *

After discussion (see below) I raised a ticket on Ansible Automation Hub jira: [Loading...](https://issues.redhat.com/browse/AAH-2730)

---

<div class="post-metadata">

**Author:** ![ptn](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/ptn/32/481_2.png) [@ptn](https://forum.ansible.com/u/ptn)\
**Post date:** [October 1, 2023, 3:20pm UTC](https://forum.ansible.com/t/how-can-i-change-language-in-new-galaxy-ng-site/1223/4 "2023-10-01T15:20:13Z")

</div>

Ah ! Last Firefox release introduced an automated translation service:

> Automated translation of web content is now available to Firefox users! Unlike cloud-based alternatives, translation is done locally in Firefox, so that the text being translated does not leave your machine. Many thanks to the various partners of the EU R&D [Bergamot](https://blog.mozilla.org/en/mozilla/local-translation-add-on-project-bergamot/) project.

[Source](https://www.mozilla.org/en-US/firefox/118.0/releasenotes/)

I’m also a Firefox user, but haven’t updated yet. Might worth a look !

---

<div class="post-metadata">

**Author:** ![zeitounator](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/zeitounator/32/898_2.png) [@zeitounator](https://forum.ansible.com/u/zeitounator)\
**Post date:** [October 1, 2023, 3:23pm UTC](https://forum.ansible.com/t/how-can-i-change-language-in-new-galaxy-ng-site/1223/5 "2023-10-01T15:23:47Z")

</div>

It’s not related to translation service but to language preference order for content. See my edit above. Thank you for the correct direction.

---

<div class="post-metadata">

**Author:** ![felixfontein](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/felixfontein/32/7530_2.png) [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Post date:** [October 1, 2023, 3:25pm UTC](https://forum.ansible.com/t/how-can-i-change-language-in-new-galaxy-ng-site/1223/6 "2023-10-01T15:25:20Z")

</div>

Heh, I just wanted to ask whether it might be related to that new Firefox translation feature 🙂

---

<div class="post-metadata">

**Author:** ![ptn](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/ptn/32/481_2.png) [@ptn](https://forum.ansible.com/u/ptn)\
**Post date:** [October 1, 2023, 3:26pm UTC](https://forum.ansible.com/t/how-can-i-change-language-in-new-galaxy-ng-site/1223/7 "2023-10-01T15:26:26Z")

</div>

> Where is the good place to ask for the feature in your opinion?

~~Perhaps raise an issue or a PR on [Galaxy project repo](https://github.com/galaxyproject/galaxy) ?~~

~~Edit: Or on [Galaxy forum](https://help.galaxyproject.org/) ?~~

Edit2: Wrong project; @felixfontein gave all the relevant information [here](http://forum.ansible.com/t/how-can-i-change-language-in-new-galaxy-ng-site/1223/9)

---

<div class="post-metadata">

**Author:** ![felixfontein](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/felixfontein/32/7530_2.png) [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Post date:** [October 1, 2023, 3:27pm UTC](https://forum.ansible.com/t/how-can-i-change-language-in-new-galaxy-ng-site/1223/8 "2023-10-01T15:27:35Z")

</div>

> [@zeitounator](#):
>
> Where is the good place to ask for the feature in your opinion? Relying on browser preference is ok for first connection but loged in users should be able to set this as a preference.

I think here is a good place, or maybe in [GitHub - ansible/ansible-hub-ui: Ansible Automation Hub UI](https://github.com/ansible/ansible-hub-ui) which is the repository for the client part of Ansible Galaxy.

---

<div class="post-metadata">

**Author:** ![felixfontein](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/felixfontein/32/7530_2.png) [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Post date:** [October 1, 2023, 3:28pm UTC](https://forum.ansible.com/t/how-can-i-change-language-in-new-galaxy-ng-site/1223/9 "2023-10-01T15:28:39Z")

</div>

That’s a totally unrelated project 🙂 [GitHub - ansible/galaxy\_ng: Galaxy NextGen](https://github.com/ansible/galaxy_ng) is the backend part of galaxy\_ng, and [GitHub - ansible/ansible-hub-ui: Ansible Automation Hub UI](https://github.com/ansible/ansible-hub-ui) the client part. (And for completeness, [GitHub - ansible/galaxy: Source code behind the Galaxy hub at http://galaxy.ansible.com](https://github.com/ansible/galaxy) is the old codebase which is no longer active.)

---

<div class="post-metadata">

**Author:** ![ptn](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/ptn/32/481_2.png) [@ptn](https://forum.ansible.com/u/ptn)\
**Post date:** [October 1, 2023, 3:31pm UTC](https://forum.ansible.com/t/how-can-i-change-language-in-new-galaxy-ng-site/1223/10 "2023-10-01T15:31:01Z")

</div>

Indeed ! Thanks; I’ll update my post !

---

<div class="post-metadata">

**Author:** ![zeitounator](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/zeitounator/32/898_2.png) [@zeitounator](https://forum.ansible.com/u/zeitounator)\
**Post date:** [October 1, 2023, 3:42pm UTC](https://forum.ansible.com/t/how-can-i-change-language-in-new-galaxy-ng-site/1223/11 "2023-10-01T15:42:27Z")

</div>

This is indeed the correct project, thanks ! But I started to cry my soul out when I discovered the issue system has been transferred to an external jira which needs a redhat account to interact (although the worse point is the first one) ☹ I’m gonna take it upon myself… 😉

---

<div class="post-metadata">

**Author:** ![himdel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/himdel/32/581_2.png) [@himdel](https://forum.ansible.com/u/himdel)\
**Post date:** [October 2, 2023, 12:38pm UTC](https://forum.ansible.com/t/how-can-i-change-language-in-new-galaxy-ng-site/1223/12 "2023-10-02T12:38:53Z")

</div>

The new site autodetects language based on the browser settings.

If you prefer English, you can set you browser’s preferred language to English.  
(Chrome: chrome://settings/languages , set English as the first language in “Preferred languages”)

Or, you can force the language by usng [`?lang=en`](https://galaxy.ansible.com/ui/?lang=en) - this will save the preference in localStorage.

---

<div class="post-metadata">

**Author:** ![himdel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/himdel/32/581_2.png) [@himdel](https://forum.ansible.com/u/himdel)\
**Post date:** [October 3, 2023, 3:55am UTC](https://forum.ansible.com/t/how-can-i-change-language-in-new-galaxy-ng-site/1223/13 "2023-10-03T03:55:34Z")

</div>

Work in progress language switcher [Language switcher by himdel · Pull Request #4366 · ansible/ansible-hub-ui · GitHub](https://github.com/ansible/ansible-hub-ui/pull/4366)

---

<div class="post-metadata">

**Author:** ![zeitounator](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/zeitounator/32/898_2.png) [@zeitounator](https://forum.ansible.com/u/zeitounator)\
**Post date:** [October 3, 2023, 9:35am UTC](https://forum.ansible.com/t/how-can-i-change-language-in-new-galaxy-ng-site/1223/14 "2023-10-03T09:35:01Z")

</div>

Thanks @himdel for taking this point and for the current workarround using the GET parameter.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [November 2, 2023, 9:35am UTC](https://forum.ansible.com/t/how-can-i-change-language-in-new-galaxy-ng-site/1223/15 "2023-11-02T09:35:53Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
