simov / express-admin

MySQL, MariaDB, PostgreSQL, SQLite admin for Node.js
MIT License
1.18k stars 223 forks source link

language override #120

Closed erwanjegouzo closed 7 years ago

erwanjegouzo commented 7 years ago

Right now, there are no ways to update the language across the views, but this would be very handy to provide further customization capabilities. How about we ad a languages property in the config file, like following, which would override the existing values?

mysql: {},
app: {},
languages: {
  en: {
    home: 'My Home Page'
  }
}

Would you be open to it? I can submit a PR.

simov commented 7 years ago

I haven't touched this project for a while now and that's the reason why I don't want to change anything in it. It's not perfect but it still works for what it was initially designed for. So I would suggest you to fork this repository instead, apply your changes there, and point your express-admin dependency in your package.json file to your own fork.

erwanjegouzo commented 7 years ago

alright, thanks for your answer @simov