https://github.com/prismlibrary/prismlibrary.github.io
The website for the Prism Library project
https://github.com/prismlibrary/prismlibrary.github.io
Last synced: about 1 year ago
JSON representation
The website for the Prism Library project
- Host: GitHub
- URL: https://github.com/prismlibrary/prismlibrary.github.io
- Owner: PrismLibrary
- Created: 2015-10-07T23:24:16.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-02-26T22:46:12.000Z (about 2 years ago)
- Last Synced: 2025-04-01T11:50:37.624Z (about 1 year ago)
- Language: CSS
- Homepage:
- Size: 16 MB
- Stars: 20
- Watchers: 8
- Forks: 25
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Website for Prism Library project
=======
The website for Prism Library project was written in HTML with a javascript translator script (english/japanese/russian).
Languages
------------
The website is available in English, Japanese and Russian.
To translate sentences, edit the following file:
```
/lang/languages.json
```
Every new word or setence added to the HTML page has to be also added to **languages.json** file. For example, if you add the word "Home", it should be translated to all languages:
```
"en": {
...
"l_home": "Home",
...
},
"jp": {
...
"l_home": "ホーム",
...
}
"ru": {
...
"l_home": "Главная",
...
}
```
Note: to maintain a pattern, the reference code has to begin with "l_". If the reference code has more than 2 word, if should be limited to 3 word. For example, for the sentence "It is a great clean website" should be `l_it_is_a`. If there is already the same code, use the next words (eg: `l_great_clean_website`)
Credits
------------
The website was originally design by [Rian Dutra](http://riandutra.com).