Comments (8)
Username and password are documented here : https://github.com/dbarzin/mercator/blob/master/INSTALL.md#start
Login page will be in English shortly.
from mercator.
Preferred language was sent properly:
Internet Protocol Version 4, Src: 127.0.0.1, Dst: 127.0.0.1
Transmission Control Protocol, Src Port: 39914, Dst Port: 8000, Seq: 1, Ack: 1, Len: 1172
Hypertext Transfer Protocol
GET /login HTTP/1.1\r\n
Host: 127.0.0.1:8000\r\n
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/119.0\r\n
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8\r\n
Accept-Language: en-US,en;q=0.5\r\n
Accept-Encoding: gzip, deflate, br\r\n
Connection: keep-alive\r\n
from mercator.
The login page uses the internationalization framework.
If you tell your browser that you prefer English to French you will get it in English.
from mercator.
The login page uses the internationalization framework. If you tell your browser that you prefer English to French you will get it in English.
I run it on Ubuntu 23.10:
docker pull ghcr.io/dbarzin/mercator:latest
docker run -it --rm --name mercator -e APP_ENV=development -p "127.0.0.1:8000":80 ghcr.io/dbarzin/mercator:latest
Browser is Firefox 119.0+build2-0ubuntu0.23.10.1~mt1
and preferred language: English (United States) [en-us]
Neither English [en] change the page language.
from mercator.
Strange, it is configured to fallback to English here https://github.com/dbarzin/mercator/blob/master/config/app.php
as described in the documentation of Laravel : https://laravel.com/docs/10.x/localization
I have to check.
from mercator.
Fixed here : https://github.com/dbarzin/mercator/pull/537/files
from mercator.
Fixed here : https://github.com/dbarzin/mercator/pull/537/files
The change is effective, but it only applies to the login page. After signing in, most of the elements are still in French, but a few of them are in English.
If the browser's preferred language is set to French, the login page consistently displays in English.
When the browser's preferred language is adjusted on-the-fly, the changes are not immediately reflected; a service restart is required to apply the language settings. This issue appears to be relatively minor. I tied only once.
Upon initial inspection, I was unable to locate a logout option. If one exists, it could benefit from being more prominently displayed, perhaps in the top-right corner.
While I have limited familiarity with Laravel, the configurations appear to be correct, based on the assistance provided by ChatGPT.
For a dependable language change, it is recommended to adjust the settings in Mercator's Preferences -> Options.
from mercator.
After login the application uses the user's preferred language accessible from Preferences -> Options.
The support for HTTP preferred language is no implemented. I am not sure it is useful for the moment.
The logout link is on the bottom left of the screen :
Thanks !
from mercator.
Related Issues (20)
- [API] La terminaison /api/data-processing semble absente HOT 5
- Ajout de la modélisation des flux réseaux HOT 8
- Demande Evolution : bloc de sélection des "Bases de données" dans la vue des flux applicatifs HOT 13
- [API] Terminaison /api/processes HOT 3
- Vue Metiers > Taches HOT 4
- Problème de chargement des fichiers CSS HOT 2
- Mauvaise redirection sur édition d'un macro-processus en vue Exploration HOT 2
- Fonctionnalité oubli de mot de passe HOT 1
- [API] Webservice Flux Logiques HOT 6
- [API] Clusters HOT 7
- Vue Cluster : probleme suppression multiple HOT 4
- Vue Infrastructures Logiques - Certificats HOT 3
- SQL error (Integrity constraint violation) during initial database loading from Master branch. HOT 2
- Position équipement dans la baie
- Liens vue logique et la vue physique HOT 2
- Erreur 500 / Vue Infra Physique / Bâtiments Salles HOT 3
- Image Docker multi-platforme ? HOT 1
- Edit building error HOT 1
- Erreur 500 - Routeur physique HOT 2
- Kubernetes cluster over hardware cluster HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mercator.