Add Russian translations for mineral property values
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

- Add properties_ru JSON field to store translated category, crystal_system,
  luster, streak, specific_gravity, color_description
- Add translate_minerals management command using deep-translator (Google
  Translate), with a hard-coded dictionary for crystal systems
- Template: show translated values in RU mode, fall back to English if missing
- Add deep-translator to requirements.txt

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-31 08:56:23 +03:00
parent 1e5453f62d
commit 0a3248daa4
5 changed files with 160 additions and 15 deletions

View File

@@ -3,3 +3,4 @@ gunicorn>=21.0
whitenoise>=6.6
requests>=2.31
beautifulsoup4>=4.12
deep-translator>=1.11