Giter VIP home page Giter VIP logo

Comments (6)

ttop32 avatar ttop32 commented on May 25, 2024 1

I think there may be conflict between commits
I recently change all locale 12 line 'tts when' to 'voice when'

I find the commits but no pull request
neoOpus@0563529
when i tested on my computer, it shows arabic setting, but not sure on rtl (because i am not rtl user)
Our style framework may support rtl, https://vuetifyjs.com/en/features/internationalization/

If you want to change locale language
You need to change browser language ,
go chrome://settings/languages,
make arabic as top priority and change display language
relaunch browser

from mousetooltiptranslator.

neoOpus avatar neoOpus commented on May 25, 2024

Oh, that's amazing! I will take care of performing the upgrade, then I will submit a PR. Thank you for the instructions. :)

from mousetooltiptranslator.

neoOpus avatar neoOpus commented on May 25, 2024

Daniel,

I did the testing and the translation shows somehow fine, but the text must be aligned to the right

https://www.w3.org/TR/css-writing-modes-4/#direction

I'm unsure where to make changes, but it would be helpful if you could assist me with the workflow setup.

Currently, I have copied the extension folder and replaced the JSON file, loading it locally instead of from the repository clone. Although I possess technical skills, I am not a programmer myself. I would like guidance on which part of the source code to modify in order to ensure proper functionality. After making the necessary edits, I would like to test it without having to swap files. This method is quick, and I may continue using it for now. However, I am interested in working further on this project if you don't mind. I plan to focus on translations and potentially some source code adjustments. I also have suggestions for reducing the extension size, which currently stands at around 10MB. Lastly, it would be wonderful if I could learn something from you during this process.

Thank you again for being supportive, I really appreciate.

from mousetooltiptranslator.

neoOpus avatar neoOpus commented on May 25, 2024

I did some modifications via the DevTool and the last two items that's how it should look like

image

It takes some changes like v-locale--is-rtl instead of v-locale--is-ltr
I also modified this

<div class="v-window__container" style="
    direction: rtl;
">

<div class="v-field v-field--active v-field--appended v-field--dirty v-field--variant-underlined v-theme--light v-locale--is-rtl" role="button" aria-haspopup="menu" aria-expanded="false" aria-owns="v-menu-43" style="">

Tab text did not translate, but I will test for French first before reporting this… There are also some missing elements in the JSON to translate some of the other elements. If it works for you, we can go through them one by one.

from mousetooltiptranslator.

ttop32 avatar ttop32 commented on May 25, 2024

I changed vuetify to force rtl based on user browser lang
7b0dcec
you can build with following instruction https://github.com/ttop32/MouseTooltipTranslator#build-yourself-to-install

Currently, change locale may time consume which is based on chrome extension i18 api
when file change , It need to reload every time and open popup manually
There is not much different process on "swap file" and "build from watch"
I will gonna find any easy locale update service for two track locale usage

Currently used webpack-ext-reloader only applied on contentScript and background script
If file changed, it automaticlly reload page

from mousetooltiptranslator.

neoOpus avatar neoOpus commented on May 25, 2024

maybe this service https://tolgee.io/ (Free for opensource)

from mousetooltiptranslator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.