add spanish translations for basic application sample (google translate)
convert hierarchical texts to simple dictionary