Question regarding traduction with JSON files

Hi,

So I'm new here and I would like your help with this system of translation.

I have a website that uses JSON files to translate the words/sentences. Currently, the translations are available in french and english and the local code of my files are "fr-FR" and "en-US".

The format of my JSON files is very simple:

{

  "Name": "Name",

  "Apple": "Apple",

  "Orange": ""

}

I want to translate the key of the JSON file and not the value. When the value is empty, SDL studio doesn't propose me to translate it and it's a problem. I wonder if there is a solution for this.

Secondly, I wanna know if that's possible to not have a language as reference since both french and english has to be translated and we translate the name of the property that we give to our page.

If I put French as reference language then I can't translate french JSON file that has to be translated.

Thanks

Parents Reply
  • First of all the "test.fr-FR.json" and "test.en-US.json" need to be the same content, just different languages.  Then you align them using the alignment module in Studio and import the aligned content into a Translation Memory.

    No you create a project with your FR file and attach the translation memory you created.

    But I feel as though you're not providing the full story here because if you have these files then why would you need to translate the FR file at all... you already have it in English?  This process is only useful if you then have another FR file and some of the content could be the same as the content in your aligned files.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

Children