Translation Method and Electronic Device
    2.
    发明公开

    公开(公告)号:US20240127007A1

    公开(公告)日:2024-04-18

    申请号:US18004797

    申请日:2022-08-18

    CPC classification number: G06F40/58 G06F3/0482 G06F3/0488 G06F2203/04803

    Abstract: Embodiments of this application provide a translation method and an electronic device. In a scenario in which foreign literature needs to be consulted, a user selects a to-be-translated word, an option bar that includes a copy option and a translation option is displayed, a floating window is displayed on a current page of a current application based on different operations of the user, and a translation result of the word is presented in the floating window. In addition, the floating window does not preempt a focus with a page window of the current application. Therefore, after querying the word, the user can continue to browse the original text without closing the floating window. In a process of continuing to browse a page on the current application, when the user needs to query a new word, the user selects the word. Based on different operations of the user, the floating window may be displayed on the current page of the current application, and a translation result of the word is displayed in the floating window. This is particularly applicable to a scenario in which the user requires continuous translation. In a process in which the user uses the application, experience of browsing the original text by the user is not affected.

Patent Agency Ranking