Jump to content

Silva

Member
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Silva

  1. LinguaLeo Workflow

    v1.1.0

     

    Hello there!

     
    I've written this workflow for myself but maybe it comes in handy for some other Russian-speaking  people who learn English. 
     
    Features:
    - Translate and pronouncing  words (and phrases) by shortcut
    - Add words to your dictionary
    - Output dictionary and filter it only by phrase or words
    - Other
     
     
     
    alfred_3.jpg
  2. 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.
     
     

    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 "и". 

×
×
  • Create New...