Draft
Conversation
added 15 commits
September 22, 2025 14:24
- Add anthropic dependency and Claude API configuration - Implement translation caching system with content hashing - Add language dropdown selector in footer with 14 language options - Refactor index file rendering to support multi-language content - Update footer layout to accommodate language selector controls
…r.py - Break long lines for better readability - Add proper exception chaining with 'from e' - Use specific exception types in catch block - Format function calls and string concatenation consistently
…dering - Translate source content (org/md/html) before rendering to HTML - Cache translations at source level rather than rendered HTML level - Maintain proper file type handling for post-translation rendering - Preserve error handling for translation failures
Update language code mappings and default values to use three-letter ISO 639-3 codes instead of two-letter ISO 639-1 codes. Add Mandinka language support.
- Add Arabic to language mapping and dropdown - Implement RTL CSS styles for Arabic content - Add lang and dir attributes to HTML based on selected language
Implement enhanced language selector with search functionality, keyboard navigation (arrow keys, enter, escape), and progressive enhancement that gracefully falls back to native select when JavaScript is disabled.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.