var dictonary = {
ru: {
word1: "фраза 1",
word2: "фраза 2"
},
en: {
word1: "word 1",
word2: "word 2"
}
}
var lang = 'ru';
...dictonary[lang]['word2']...
img {
filter: grayscale(100%);
}
img:hover {
filter: grayscale(0%);
}