translatewiki.net
0f3bca442a
Localisation updates from https://translatewiki.net .
2022-06-13 13:08:42 +02:00
Matthieu Gautier
b74910b2af
Limit the number of zim in multizim fulltext search.
...
We are currently limiting to 5 but it will be changed in next commit.
2022-06-02 12:37:50 +02:00
Matthieu Gautier
f0065fdd6f
Introduce Error exception to do i18n
2022-06-02 12:23:42 +02:00
translatewiki.net
d131b732d8
Localisation updates from https://translatewiki.net .
2022-05-11 16:11:17 +02:00
Veloman Yunkan
a0d9a824e1
Internationalized searchbox tooltip
2022-04-13 16:40:20 +02:00
Veloman Yunkan
5052d4018c
hy translation of the suggest-search message
2022-04-13 16:40:20 +02:00
Veloman Yunkan
11be821c46
Internationalized "Go to a randomly selected page"
...
At this point a potential issue has been revealed. Now we produce
the final HTML via 2-level template expansion
1. Render parameterized messages
2. Render the HTML template
In which templates we should use double mustache "{{}}" (HTML-escaping)
tags and where we may use triple mustache "{{{}}}" (non-escaping) tags?
2022-04-13 16:40:20 +02:00
Veloman Yunkan
3da81a3d0f
Internationalized "Go to the main page" button
2022-04-13 16:40:20 +02:00
Veloman Yunkan
c2bfeb4030
"Go to welcome page" is internationalized
2022-04-13 16:40:20 +02:00
Veloman Yunkan
6f3db20078
Internationalized "Fulltext search unavailable" page
2022-04-13 16:40:20 +02:00
Veloman Yunkan
fbd23a8329
Fully internationalized 400, 404 & 500 error pages
2022-04-13 16:40:20 +02:00
Veloman Yunkan
d2c864b010
Internationalized raw-entry-not-found message
2022-04-13 16:40:20 +02:00
Veloman Yunkan
779382642b
Internationalized bad raw access datatype message
2022-04-13 16:40:20 +02:00
Veloman Yunkan
ca7e0fb4a0
Internationalized random article failure message
2022-04-13 16:40:20 +02:00
Veloman Yunkan
1ace16229d
Internationalized search suggestion message
2022-04-13 16:40:20 +02:00
Veloman Yunkan
cb5ae01fd8
Localized "No such book" 404 message for /random
...
However the title and the heading of the 404 page are not localized yet.
2022-04-13 16:40:20 +02:00
Veloman Yunkan
b2526c7a98
Translation of the url-not-found message
2022-04-13 16:40:20 +02:00
Veloman Yunkan
202ec81d8b
URL-not-found message went into i18n JSON resource
...
Yet, the URL-not-found message is not yet fully internationalized
since its usage is hardcoded to English.
2022-04-13 16:40:20 +02:00
Veloman Yunkan
e4a0a029ff
User language control via userlang query param
...
This is a draft commit enabling the testing of the support for
kiwix-serve internationalization.
2022-04-13 16:40:20 +02:00
Veloman Yunkan
507e111f34
i18n data is kept in and generated from JSON files
...
Introduced a new resource compiler script kiwix-compile-i18n that
processes i18n string data stored in JSON files and generates sorted C++
tables of string keys and values for all languages.
2022-04-13 16:40:20 +02:00