whoogle-search/app/templates
Ben Busby 4649d96dda
Support basic localization (#325)
* Replace hardcoded strings using translation json file

This introduces a new "translations.json" file under app/static/settings
that is loaded on app init and uses the user config value for interface
language to determine the appropriate strings to use in Whoogle-specific
elements of the UI (primarily only on the home page).

* Verify interface lang can be used for localization

Check the configured interface language against the available
localization dict before attempting to use, otherwise fall back to
english.

Also expanded language names in the languages json file.

* Add test for validating translation language keys

Also adds Spanish translation to json (the only non-English language I
can add and reasonably validate on my own).

* Validate all translations against original keyset, update readme

Readme has been updated to include basic contributing guidelines for
both code and translations.
2021-05-24 17:03:02 -04:00
..
display.html Support basic localization (#325) 2021-05-24 17:03:02 -04:00
error.html Send CSP header in all responses 2021-04-05 11:00:56 -04:00
header.html Hotfix: check for site filters before modifying query 2021-05-10 12:07:55 -04:00
imageresults.html Add "view image" functionality (#268) 2021-05-21 11:19:45 -04:00
index.html Support basic localization (#325) 2021-05-24 17:03:02 -04:00
logo.html Expand custom css theming support 2021-04-09 11:00:02 -04:00
opensearch.xml Handle FF sending bad search suggestion param 2020-10-28 23:02:41 -04:00
search.html Add iframe-able search page for insertion into other sites 2021-05-21 10:35:46 -04:00