Auto Locales Slug logo

Auto Locales Slug

By Alvi H.

This Strapi plugin works by appending a locale to the end of a slug, helping to identify the slug based on the locale.

Latest version

v0.0.4

released April 2, 2025

npm install strapi-plugin-auto-locales-slug

Auto Locales Slug Strapi Plugin

 Auto Locales Slug Strapi Plugin

Description

This plugin automatically adds a locale to the end of the slug.

How It Works

This plugin checks at the database level whether the slug is available. It operates by appending a locale to the end of a slug. It specifically works with fields named 'title' or 'name'. The plugin retrieves the value from these fields and applies it according to the pattern specified in the plugin's basic settings. You must select either 'title' or 'name' in the pattern option for the plugin to function correctly.

Features

  • Automatically appends locale information to slugs.
  • Supports multiple locales.
  • Easy integration with existing projects.
  • No need extra configuration.

Installation

To install the plugin, follow these steps:

Using npm:

npm install auto-locales-slug

Using yarn:

yarn add auto-locales-slug

Compatibility

  • Required Strapi Version: 5.x.x

Bug Report

If you encounter any issues or bugs, please report them at our GitHub Issues page.

Submit your content

Share your work with the community and get it listed in the Strapi ecosystem for everyone to discover and use.

Submit
Submit your content