import { isObject } from '../functions/is-object' ; export function designTranslationObject ( translationObject , language ) { let scopedLanguageTranslation = { } ; for ( var column in translationObject ) { if ( isObject ( translationObject [ column ] ) ) { scopedLanguageTranslation [ column ] = designTranslationObject ( translationObject [ column ] , language ) ; } else scopedLanguageTranslation [ column ] = "Missing Text of " + language ; } return scopedLanguageTranslation ; }