Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Settings menu #321

Closed
mahag opened this issue Apr 14, 2015 · 4 comments
Closed

Change Settings menu #321

mahag opened this issue Apr 14, 2015 · 4 comments

Comments

@mahag
Copy link

mahag commented Apr 14, 2015

Is it possible to change the settings options showing ? For example remove some options, rename some texts displayed into a different language?
I checked the could reader folder I only have readium-all.js file under scripts and readium-all.css under css folder

@danielweck
Copy link
Member

Yes you can customize the application's user interface, but you have to makes changes to the actual source code, not to the aggregated / minified build output.

See:
https://github.com/readium/readium-js-viewer/blob/develop/templates/settings-dialog.html
https://github.com/readium/readium-js-viewer/blob/develop/lib/ReaderSettingsDialog.js
https://github.com/readium/readium-js-viewer/tree/develop/i18n/_locales

@mahag
Copy link
Author

mahag commented Apr 14, 2015

but i dont have templates folder or lib folder do i create them and place file underneath them ?

@danielweck
Copy link
Member

If you want to modify the source code, you need to learn to use Git to clone the Readium repositories
(from the command line or from a GUI utility). Then you need to compile / build your own fork of Readium. There are how-to instructions in the README:
https://github.com/readium/readium-js-viewer/blob/master/README.md

@rkwright
Copy link
Contributor

But do note that we welcome people who will help us localize the strings for the existing UI. We only ask that you do so carefully and only in your own native language (to minimize errors). Also, you need to localize all the strings (not just some or most). Then submit the localized strings as a pull-request and we will review it. Thanks.

The current strings are here
https://github.com/readium/readium-js-viewer/tree/master/i18n/_locales
which demonstrates the proper format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants