npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

directus-extension-translation

v1.0.0

Published

A powerful Directus extension module for managing translations with Excel-like inline editing, instant search, and multi-language support. Features include server-side pagination, batch saving, and a modern UI optimized for translation workflows.

Readme

Directus Translation Manager Extension

A powerful and modern translation management module for Directus CMS with Excel-like inline editing capabilities.

🚀 Features

✨ Core Features

  • Excel-like Inline Editing: Double-click any cell to edit directly in the table
  • Real-time Search: Search translation keys with instant filtering
  • Multi-language Support: Manage translations for multiple languages simultaneously
  • Server-side Pagination: Efficient handling of large translation datasets
  • Batch Save: Collect multiple changes and save them all at once
  • Modern UI: Clean, professional interface following Directus design patterns

🎯 Advanced Features

  • Dynamic Language Loading: Automatically loads available languages from your Directus instance
  • Alphabetical Sorting: Translation keys are automatically sorted A-Z
  • Visual Change Indicators: Modified cells are highlighted for easy identification
  • Responsive Design: Works seamlessly on desktop and mobile devices
  • Keyboard Navigation: Full keyboard support for efficient editing

📦 Installation

npm install directus-extension-translation

🔧 Setup

  1. Install the extension in your Directus project
  2. Build the extension:
    pnpm run build
  3. Restart your Directus instance to load the new extension
  4. Access the module via the navigation menu in your Directus admin panel

🎮 Usage

Basic Translation Management

  1. Navigate to "Translation Manager" in your Directus admin panel
  2. Select the languages you want to work with using the checkboxes
  3. Use the search box to filter translation keys
  4. Double-click any cell to edit translations inline
  5. Click "Save All Changes" to commit your modifications

Search and Filter

  • Search Box: Type to filter translation keys in real-time
  • Language Selection: Check/uncheck languages to show/hide columns
  • Pagination: Navigate through large datasets efficiently

Inline Editing

  • Double-click: Activate inline editing for any cell
  • Enter: Save changes and move to next cell
  • Escape: Cancel editing without saving
  • Tab: Navigate between cells

🛠️ Technical Details

API Integration

  • Endpoint: /translations for data retrieval and updates
  • Search: Real-time filtering via API parameters
  • Pagination: Server-side pagination with 50 items per page
  • Authentication: Inherits Directus session management

Architecture

  • Framework: Vue.js 3 with Composition API
  • Styling: SCSS with Directus design system variables
  • Build: Directus Extension SDK
  • TypeScript: Full type safety and IntelliSense support

📋 Requirements

  • Directus 10.10.0 or higher
  • Node.js 18+
  • Modern web browser with ES6+ support

🔄 Development

# Install dependencies
pnpm install

# Development mode with hot reload
pnpm run dev

# Build for production
pnpm run build

# Validate extension
pnpm run validate

🎨 Customization

The extension uses Directus design tokens and can be customized via CSS variables:

// Custom styling example
.translation-manager {
  --theme--primary: #your-color;
  --theme--background: #your-bg;
}

🤝 Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

📄 License

MIT License - see LICENSE file for details

🆘 Support

For issues and feature requests, please create an issue in the repository.


Built with ❤️ for the Directus community