Advertisement
Guest User

Untitled

a guest
Apr 28th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. The export with i18n introduce a new element : The group Lang
  2. The group lang is an id of a translation of a document for exemple a document in english and its translations have the same groupLang ID.
  3.  
  4. Create a new document for a group lang :
  5. If you want to create a new document for an existing groupLang. For exemple, I've created a document in english wich is my master lang and i want to import a new translation in french
  6. You just have to add in your import zip a document with the filename new_$GrouplangId_$Lang (for exemple new_WKq0ph4AACEA4M9B_fr-fr.json)
  7.  
  8. Create a new groupLang with all its translation
  9. You can also import a new group of translation by importing multiple document with an arbitrary goupLang setted.
  10. For exemple if i want to import a new english document and its translation i will name my documents.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement