Daily Development Update: HiveReactKit Translation System and hReplier Language Integration

in HiveDevs4 days ago

▶️ Watch on 3Speak


HiveReactKit

Internationalization (i18n): Provider-Based Translation System

  • feat(i18n): provider-based translation for Hive content.
  • Introduced HiveLanguageProvider:
    • Supports pluggable translation backends
    • Default integration with MyMemory translation service
  • Added new hooks:
    • useTranslatedHtml for rich content
    • useTranslatedText for plain text
  • Introduced reusable components:
    • <TranslatedBody> for posts and comments
    • <TranslatedText> for UI and inline text
  • Enabled translation across:
    • Posts
    • Comments
    • Polls
    • Profile content
  • Performance optimizations:
    • Implemented caching for translated content
    • Deduplication of translation requests
    • Safe HTML translation handling
  • Exported:
    • All i18n utilities for external integration
  • Documentation:
    • Updated for all new components and usage patterns

Translated Post Example
Translated Post Example

Translation Applied in Comments
Translation Applied in Comments


hreplier-react

Application Integration: Language Settings and Content Translation

  • feat(i18n): integrate HiveReactKit translation with app language.
  • Added Language Settings:
    • Supports English and Spanish selection
  • Integrated translated UI:
    • User Profile page
    • Post Detail page
  • Wrapped application with HiveLanguageProvider:
    • Connected to existing i18n state
  • Synced translation system:
    • Content translation matches selected UI language
  • Reused MyMemory backend:
    • Shared caching for efficient translation performance

Language Settings UI

Spanish UI in Profile Detail
Spanish UI in Profile Detail

Spanish UI in Post Detail
Spanish UI in Post Detail


Powering the Hive Ecosystem

  • Continuously improving Hive applications with a focus on stability, performance, and scalability
  • Contributing to open-source development and building reusable solutions for the community
  • Working towards a stronger, more accessible, and feature-rich Hive ecosystem

Final Note

  • This post has been refined with the help of AI to improve readability and structure
  • The original content and optimised version are both available for reference

More Links

▶️ 3Speak

Sort:  

This post has been manually curated by @bhattg from Indiaunited community. Join us on our Discord Server.

Do you know that you can earn a passive income by delegating to @indiaunited. We share more than 100 % of the curation rewards with the delegators in the form of IUC tokens.

Here are some handy links for delegations: 100HP, 250HP, 500HP, 1000HP.

image.png

100% of the rewards from this comment goes to the curator for their manual curation efforts. Please encourage the curator @bhattg by upvoting this comment and support the community by voting the posts made by @indiaunited.

thank you so much @indiaunited & @bhattg for curation based support.

GIF

via Apps from

Not a day passes without moving into the right direction and growing the app and ecosystem, keep it up!

@hivepulse.app thank you.
yes. Daily improvements.
One step at a time for making hive a better place.

via Apps from

Great work! Thank you for sharing your expertise with us.

@darkflame you are most welcome
You should try https://HiveSuite.app & you will love it

via Apps from