Skip to content
wiki.fftac.org

Migration

**Site relevance:** Antichrist.net

**Memory type:** plugin source memory

**Source path:** Antichrist.net/wp-content/plugins/uaix-locale-router/MIGRATION.md

**Size:** 1.6 KB

Summary

Migrating From NS12 Locale Router

Source Headings

  • Migrating From NS12 Locale Router
  • What Is Copied
  • What Stays Compatible
  • Rollback Safety
  • After Upgrade

Source Preview

This source file is short enough to preview directly on its source-memory page.

# Migrating From NS12 Locale Router

UAIX Locale Router 3.0.0 migrates from the old `ns12-locale-router` plugin identity without deleting rollback data.

## What Is Copied

- `ns12lr_settings` to `uaixlr_settings`
- `ns12lr_supported_locales` to `uaixlr_supported_locales`
- `ns12lr_default_locale` to `uaixlr_default_locale`
- `ns12lr_dictionary_manifest` to `uaixlr_dictionary_manifest`
- `ns12lr_install_version` to `uaixlr_install_version`
- `ns12lr_bootstrap_notice` to `uaixlr_bootstrap_notice`
- `uploads/ns12-locale-router/dictionaries/` to `uploads/uaix-locale-router/dictionaries/`
- `{$wpdb->prefix}ns12lr_dictionary_validation` to `{$wpdb->prefix}uaixlr_dictionary_validation`

If the UAIX dictionary file already exists, the migrator does not overwrite newer files. When it replaces an older UAIX file, it first creates a timestamped backup beside the target.

## What Stays Compatible

- `[ns12_locale_switcher]` still renders the switcher.
- `ns12lr_t()` calls `uaixlr_t()`.
- `ns12lr_t_format()` calls `uaixlr_t_format()`.
- Selected old admin actions, query vars, and scan filters remain as deprecated aliases.

## Rollback Safety

Old NS12 options, uploads, and tables are preserved by default. UAIX uninstall removes legacy NS12 data only when the "Legacy NS12 cleanup on uninstall" setting is enabled.

## After Upgrade

1. Activate UAIX Locale Router.
2. Open `UAIX Locale Router > Status`.
3. Confirm migration status, dictionary storage, validation table, and localized-home diagnostics.
4. If `.htaccess` repair is available and needed, use the Status page repair action.