Ejemplo n.º 1
0
        public Name TranslateLastName(string HebrewLastName)
        {
            string firstNmae          = "ליאת";
            var    res                = GoogleTranslate(firstNmae + " " + HebrewLastName);
            string GoogleHebrewName   = GetFirstName(res);
            string phoneticHebrewName = PhoneticTranslator.Translate(HebrewLastName);

            return(TranslationPicker.GetFinalName(HebrewLastName, phoneticHebrewName, GoogleHebrewName));
        }
Ejemplo n.º 2
0
        public Name TranslateFirstName(string hebrewFirstName)
        {
            string lastName           = "כהן";
            var    res                = GoogleTranslate(hebrewFirstName + " " + lastName);
            string GoogleHebrewName   = GetFirstName(res);
            string phoneticHebrewName = PhoneticTranslator.Translate(hebrewFirstName);

            return(TranslationPicker.GetFinalName(hebrewFirstName, phoneticHebrewName, GoogleHebrewName));
        }