Silva Posted January 3, 2016 Share Posted January 3, 2016 (edited) Hi, guys! I try to write my workflow for working with Lingualeo.com (it's Russian service for learning English ). Translating works well, but when I try to add a word and its translation to Lingualeo the letter "й" replace to the letter "и". I'm sure this problem in one of my python scripts because when I tried to hardcode translation with this "й" letter - it works fine. So it's not Lingualeo's API problem... The weird thing that in notification it works fine. I guess it's sort of automatic normalization or some problem with encoding but I'm just a beginner. I would be very grateful if you can help me solve this problem. Workflow files: https://github.com/PazzaVlad/alfred-lingualeo/tree/master/LinguaLeo%20Translate When I write instead of "words[1]" (this is translation) just string "йога" here https://github.com/PazzaVlad/alfred-lingualeo/blob/master/LinguaLeo%20Translate/addtodictionary.py#L24 - it works fine. Letter "Й" doesn't replace by letter "и". Edited January 3, 2016 by Silva Link to comment
deanishe Posted January 8, 2016 Share Posted January 8, 2016 Your code no longer matches your description. Did you get this problem sorted out? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now