Giter VIP home page Giter VIP logo

Comments (6)

JakeHartnell avatar JakeHartnell commented on August 26, 2024

PDF.js does this already, we can use them as a model perhaps?

from epub.js.

fchasen avatar fchasen commented on August 26, 2024

Are you referring to the reader supporting different language strings or supporting epubs that read right-to-left?

from epub.js.

JakeHartnell avatar JakeHartnell commented on August 26, 2024

Well both actually.

Developers should be able to customize the interface and support epubs in their language:

For example:
zoom_in_label=放大
zoom.title=縮放
print.title=列印
print_label=列印
presentation_mode.title=切換到簡報模式
presentation_mode_label=簡報模式
...
request_password=PDF檔案受密碼保護:
printing_not_supported=警告:這個瀏覽器不完全支援列印。
printing_not_ready=警告:PDF檔案未完全加載以進行打印。
web_fonts_disabled=禁止使用網路字型:無法使用嵌入PDF檔案的字型。
web_colors_disabled=網絡顏色已被停用。

from epub.js.

JakeHartnell avatar JakeHartnell commented on August 26, 2024

We can put it somewhere further down the road-map, but it's good to keep in mind.

from epub.js.

JakeHartnell avatar JakeHartnell commented on August 26, 2024

Perhaps use something like this? Seems simple enough.

I believe this is the one used in PDF.js.

from epub.js.

lionel-m avatar lionel-m commented on August 26, 2024

👍

from epub.js.

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.