Commit Graph

123 Commits

Author SHA1 Message Date
d8c2b22a46 Changed Rajasthan's language from Marwari to Hindi 2025-03-08 12:30:47 -05:00
f65ea1dd8f Added more transliterations (some languages use the same script as others) 2025-03-08 12:30:18 -05:00
da993bf1aa Removed marwari (Rajasthan mostly speaks Hindi) 2025-03-08 12:29:23 -05:00
7110b0e0e3 Set romanization text relative to translation text; Fill languages instead of the individual districts 2025-03-07 15:46:14 -05:00
d1feca7003 Make districts transparent; dim other languages when one is hovered; change default opacity of language 2025-03-07 15:45:27 -05:00
3aa4135a81 Put languages before districts, so that district boundaries show up even with full opacity 2025-03-07 15:44:39 -05:00
72747015ed Check if romanizations already exist in database; transliterate the whole sentence instead of just one word 2025-03-06 21:21:50 -05:00
d006ee8887 Update translations DB 2025-03-06 21:21:05 -05:00
6cc8069c23 Moved translations DB to root, updated references to it 2025-03-06 09:26:35 -05:00
0add8244e6 Added gitignore 2025-03-06 09:25:29 -05:00
02c47cc218 Updated TODO 2025-03-05 16:47:09 -05:00
f20c17337b Added styling for romanizations (same as translations) 2025-03-05 16:46:22 -05:00
4fece83e43 Show romanizations on map 2025-03-05 16:46:12 -05:00
f861b73846 Updated TODO 2025-03-05 14:45:40 -05:00
0f92b11009 Add more text below the translation, in brackets - will be used for romanization 2025-03-05 14:44:58 -05:00
6899c2ce86 Updated translation DB 2025-03-05 14:44:37 -05:00
5cb766c2b8 Updated DB 2025-03-05 07:07:47 -05:00
c5ff92f941 Added JS to fetch romanization from an endpoint and log it; added a CSS class to the loading bar to show while the data is being fetched 2025-03-05 07:07:40 -05:00
4671ba40e7 Updated translations 2025-03-04 16:43:33 -05:00
dfdd9326be Added modified xlit server file with new endpoint '/romanize' - should go in venv for transliteration server 2025-03-04 16:38:48 -05:00
64f4f5f80b Fixed typo in manipuri language tag; regenerated database 2025-03-04 16:37:01 -05:00
ca7f6ad212 Fixed typo with struct tag; cleared DB because this bug resulted in incomplete translations 2025-03-03 16:53:26 -05:00
7112874a06 General refactoring 2025-03-03 16:52:32 -05:00
a38657ddf1 Updated TODO 2025-03-03 16:40:11 -05:00
6ba1189c6c Define color directly in the 'languages' object, instead of separately 2025-03-03 16:39:41 -05:00
d8bdb048c4 Added sqlite DB to cache translations; retrieve translations from DB if they're cached, otherwise fetch from API and cache results 2025-03-03 16:16:53 -05:00
a39fcc69a4 Added TODO 2025-03-02 22:07:11 -05:00
42e31dab13 Use language code instead of language name; removed 'unavail' language; don't add text for districts 2025-03-02 22:05:35 -05:00
da3b3b8a16 Added loading indicator when translations are being retrieved 2025-03-02 22:02:23 -05:00
0de268eec5 Replace text on map with translation 2025-03-02 22:02:02 -05:00
2b8bed7587 Added language codes for all languages; removed 'unavail' langauge (not really a language) 2025-03-02 22:01:46 -05:00
79944180d5 Added language codes for each language, add some testing text to determine if I can draw based on lat/long 2025-03-02 20:08:13 -05:00
6cd33ac06d Add noto fonts (unicode glyph support); use HTMX to replace translations on map; pointer-events for languageText to help select a state on the map 2025-03-02 20:07:09 -05:00
e60da27cd5 New file - updates translations on map 2025-03-02 20:05:56 -05:00
c57de2492e Added Go translation server - send requests to Google Translate API 2025-03-02 20:05:40 -05:00
5f8264cda8 Store language text instead of district text 2025-02-27 17:45:53 -05:00
73149275fd Added a form, added some more styling 2025-02-27 17:45:30 -05:00
c7876fea3f Added Awadhi language boundary 2025-02-27 11:17:56 -05:00
d757454319 Added Awadhi language and language color 2025-02-27 11:12:18 -05:00
53f8c63c2d Added Awadhi language 2025-02-27 11:12:07 -05:00
6532036c73 Removed turf JS testing file (I have it implemented) 2025-02-27 09:47:27 -05:00
5584374dea Updated JSON with Sindhi and Santali language boundaries 2025-02-27 09:36:46 -05:00
f43460e94b Added Santali and Sindhi languages; removed 'try ... catch' block because the function shouldn't error 2025-02-27 09:36:28 -05:00
ce89a74e70 Added a transparent fill, so that the language boundary can be 'hovered' on; added a hover action 2025-02-27 09:35:24 -05:00
f9cc824e3e Updated language borders with Sindhi and Santali 2025-02-27 09:34:48 -05:00
0aa425e6d1 Copied generated JSON data into a file, added it into the districts JSON file and saved the result to a new file 2025-02-27 06:49:22 -05:00
625b1d1377 Since language boundaries are now loaded from json, I can detect them and apply the right CSS class; removed JSON generation code 2025-02-27 06:48:07 -05:00
5fc15a2c5c Increase stroke width for language boundaries 2025-02-27 06:47:27 -05:00
17267b11ac unminified 2025-02-26 22:39:43 -05:00
4789ce8ac4 Finally finished adding language boundaries - next step: export them to a file so that they don't have to be recomputed each time 2025-02-26 22:39:19 -05:00