Hello
I would like to know if you can do something that allows you to place the name of the dashboard in English / Spanish for example
Thank you
I’m afraid I don’t understand your question. Do you mean you’d like to be able to give a dashboard both an English and a Spanish title, and then display the correct title depending on the user’s browser’s language settings?
thanks
really what I need is to put the title of the dashboard according to a parameter in the code that is generated when using the embedded, for example
// you will need to install via ‘npm install jsonwebtoken’ or in your package.json
var jwt = require(“jsonwebtoken”);
var METABASE_SITE_URL = “http://statistics-iccomomkit.us-east-1.elasticbeanstalk.com”;
var METABASE_SECRET_KEY = “3868fdf5ae953b38eb7d85eafca68f958538dfa83c88”;
var payload = {
resource: { dashboard: 1 },
params: {
“id”: null
}
};
var token = jwt.sign(payload, METABASE_SECRET_KEY);
var iframeUrl = METABASE_SITE_URL + “/embed/dashboard/” + token + “#bordered=true&titled=true”;