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

[BUG] Unable to change Language from "fr" to "en" if gwd cgi started with -blang #1678

Closed
michelmno opened this issue Dec 12, 2023 · 2 comments

Comments

@michelmno
Copy link
Contributor

Unable to change Language from "fr" to "en" if gwd cgi started with -blang

use case

  • geneweb built from geneweb/master current head (cid 19918c0)
  • gwd cgi script started with -blang parameter
    (as per online help this is to Select the user browser language if any
  • from welcome page of the base, my default browser is french, and the page correctly displayed as such.
    http://localhost/cgi-bin/gwtst?b=basefusionnee
  • if I try to switch to "en" for english language, the welcome page remains in french, and url remains the same without lang= variable.
  • What is strange is that if I select another language (like es for spanish) then the page is correctly translated and url updated also http://localhost/cgi-bin/gwtst?lang=es&b=basefusionnee

There is no such problem if -blang parameter not present.

Something else about language translation: the Welcome page of demo 7.1 on wiki is a mixed of english and french while my browser is french; nevertheless reports the same problem as above.
https://demo.geneweb.tuxfamily.org/gw71/gwd?b=grimaldi

@a2line
Copy link
Collaborator

a2line commented Feb 1, 2024

blang should not be intrusive anymore when switching to "en" (english) with merge of PR #1680 that also allows to setup a “fallback langage”.

@a2line a2line closed this as completed Feb 1, 2024
@michelmno
Copy link
Contributor Author

verified OK with master branch cid 99b5157

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