Add tatoeba

Julien LepillerSat Jul 09 21:45:24+0200 2022

3138fbd

nani/website
namelast commitdate
.gitignoreUpdate READMEWed Apr 17 11:34:40+0200 2019
COPYINGAdd licenseThu Apr 11 23:50:22+0200 2019
MakefileAdd tatoebaSat Jul 09 21:45:24+0200 2022
README.mdMention weblate in Readme.Mon Jun 15 21:53:24+0200 2020
css/Add language menuWed Jul 21 13:59:19+0200 2021
haunt.scmAdd website pages and translationsWed May 15 10:30:32+0200 2019
images/Use correct badge for UkrainianThu Jul 22 16:09:42+0200 2021
jibiki.mkRework dictionary generationMon Jul 19 23:26:26+0200 2021
jmdict.mkRework dictionary generationMon Jul 19 23:26:26+0200 2021
kanjidic.mkAdd kanjidicWed Jul 21 13:59:22+0200 2021
kanjivg.mkAdd kanjivgTue Aug 03 14:23:18+0200 2021
manifest.scmAdd tatoebaSat Jul 09 21:45:24+0200 2022
modules/Add tatoebaSat Jul 09 21:45:24+0200 2022
pages/Fix typosMon Jul 19 23:26:28+0200 2021
po/Add tatoebaSat Jul 09 21:45:24+0200 2022
radicals.mkAdd kanjidicWed Jul 21 13:59:22+0200 2021
tatoeba.mkAdd tatoebaSat Jul 09 21:45:24+0200 2022
tools/Add tatoebaSat Jul 09 21:45:24+0200 2022
wadoku.mkGenerat pitch accent dictionarySat Jun 06 00:51:58+0200 2020

README.md

nani-website

This repository contains the code for the website of the Nani project. It uses haunt to build a static website and some guile code to generate dictionaries and downloadable content for the project.

Building and testing

Dependencies

To build the website, you will need the following software:

As well as more common software:

The easiest way to do this is to use guix and install the necessary components in a temporary environment:

guix environment --ad-hoc guile haunt

Testing locally

To test the website, build it with:

make

This can take quite a lot of time because it needs to build a lot data.

Then run a server with:

haunt serve

You can now connect to localhost to view the website.

Updating dictionary data

Dictionaries are served by this website. The first time you build the website, make will take care of downloading the necessary data and building the dictionary files. Later, it will not download the files anymore, but you can update them explicitly with:

make download

Contributing

You can contribute in multiple ways:

Report a bug, request improvements

Well, you can use the Issues button on the left :)

Translate the website

Translations are managed on Fedora's Weblate platform. Below are additional information in case you do not want to use that platform.

If you want to translate the website, you can do so by downloading the .po file corresponding to your language in the po folder, or the po/nani.pot file if there is none yet. Then, you can use poedit for instance to load and modify the file. Once you're done, save it and send it to me via an issue, a merge request or simply by email, whatever is more convenient for you, dear translator :)

Improve dictionary generation, add a new source, ...

Please discuss these in the issues for the app, not in this repository. Thank you :)