You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
whoogle-search/test
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.
3 years ago
..
__init__.py Added testing and ci build, refactored filter class, refactored project structure 4 years ago
conftest.py Fix incorrect config bool env var casting 3 years ago
test_autocomplete.py Feature: autocomplete/search suggestions (#72) 4 years ago
test_misc.py Support basic localization (#325) 3 years ago
test_results.py Block websites from search results via user config (#304) 3 years ago
test_routes.py Add option to disable changing config from client (#295) 3 years ago