Comments (10)
Hi
Hum ... I've not noticed that ... strange.
Does it keep the selected language during the session and lost it after?
Do you set the default language in the admin settings?
from teampass.
Hi
Yeah, when I try to log on the default language is English US, I change it to french and it keeps the language during the session. But If we want to log on again , the language become english.
I set french in the admin settings.
from teampass.
I confirm having given the French the default language of English back after the first connection of a user, but left after the french chosen.
from teampass.
Can you tell me if option "Send an email to Admins on User log in" is enabled?
If yes, try disabling it. If it works after, you are experimenting an error with the SMTP credentials.
I'll try to improve that point.
from teampass.
The problème is the same when this option is enable or disable for me.
For exemple one user name "test" when i connect him the language who appear is
english then the french language default is enable.
from teampass.
Rah ... can't manage to reproduce.
My default language is "french".
I create a new user "user_test"
I connect myself with this new user
Language I see in TP is "french"
Hum I don't understand
from teampass.
Sorry, I reinstalled teampass, I log into admin, in the settings I change the default language in french, the interface is in English. I switch to French. I create a user mtest I log in the default language is English ...
Wamp server test.
from teampass.
Can you please try the next thing.
Open file index.php
Find:
}else {
if (isset($_POST['language'])) {
$_SESSION['user_language'] = filter_var($_POST['language'], FILTER_SANITIZE_STRING);
}
}
Replace by:
}else {
if (isset($_POST['language'])) {
$_SESSION['user_language'] = filter_var($_POST['language'], FILTER_SANITIZE_STRING);
}else if (isset($_SESSION['settings']['default_language'])) {
$_SESSION['user_language'] = $_SESSION['settings']['default_language'];
}
}
from teampass.
It works with this code. But the login page is always English.
Thank you.
from teampass.
Ok great.
Yes the login page is in english ... I can improve that.
from teampass.
Related Issues (20)
- No new lines in generated email HOT 1
- Unable delete empty folder
- Impossible d'ajouter un dossier/sous dossier
- Items disappeared from Password menu. We can only see folders and new items. HOT 6
- Scheduler not working error with CronExpression.php
- Unable to sync passwords after changing it in Active Directory
- Timeout problem with connectivity test HOT 2
- Fresh Install LDAP Test connection Internal Server Error
- Roles -> LDAP Syncronization is not working because objectGUID is not integer in Active Directory HOT 1
- Which is the best way to migrate to a new server? HOT 1
- Encrypting user TeamPass HOT 3
- Improve slow sql queries
- error 500 and key regeneration hangs HOT 1
- Error in the scheduler due to data entered by a user
- LDAP connection error and error 500 on the web page
- ldap group issue
- After Upgrade to Teampass 3.1.2 index.php returns too many redirects error HOT 25
- Access Users list HOT 2
- User list does not load HOT 2
- MFA disable - Teampass still need web acces (google) HOT 3
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 teampass.