Skip to content

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

Notifications You must be signed in to change notification settings

livealvi/strapi-plugin-auto-locales-slug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto Locales Slug Strapi Plugin

Description

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

How It Works

This plugin 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.