I would like to explain my problem of the day.
currently i have an json
const translations = [{
  "fr": {
    "A.A.B_B": "salut",
    "example": "example",
  },
  "en": {
    "A.A.B_B": "Hi",
    "example": "example",
  },
}]
// then I map
const lg = "fr";
const filterLg = translations.map((e) => e[lg]);
// then I reduce for to delete the table
const t = filterLg.reduce(
  (accumulator, value) => ({ ...accumulator, value }), {}
);
console.log(t)this works correctly.
my problem and the next one
this does not work
   console.log(t.value.A.A.B_B);
but this yes
console.log(t.value.example);
iam open to any proposal thank you very much.
thx Neff
 
    