import { GOOGLE_APPLICATION_CREDENTIALS } from '../../environments' ; import GoogleTranslate from 'google-translate' ; const loremIpsum = 'I am using google translator to convert this text' ; remarks This method is part of the  shared .
 *
 *  param text param code returns beta export const translate = async ( text = loremIpsum , code = 'vi' ) : Promise < string > => new Promise ( ( resolve , reject ) => { } ) ;