fixed a bug with create new language version if the resource type has multiple samples (only need a sample if there is no initial document).
Changed paths: