Lytera UA LAT

Aprašymas

Ukr to Lat transliteration for WordPress. Turns Ukrainian slugs into readable Latin URLs according to the official standard (Resolution of the Cabinet of Ministers of Ukraine No. 55, 2010).

Features

  • Post, page, custom post type and term slugs
  • Attachment file names
  • Tools Lytera UA LAT: preview which slugs will change and convert existing slugs in batches
  • 301 redirects from old post and term URLs (also after manual term slug edits)
  • Not-yet-converted Cyrillic URLs keep working
  • WooCommerce: attributes and variations with Ukrainian names keep working (existing data is migrated automatically)
  • Word-initial rules: Є, Ї, Й, Ю, Я Ye, Yi, Y, Yu, Ya; inside a word ie, i, i, iu, ia
  • „зг” „zgh”; soft sign and apostrophe are dropped
  • Ukrainian only

Example: Згорани Юрій Їжакевич zghorany-yurii-yizhakevych.

DUK

How can I change the table?

add_filter( ‘uatr_table’, function ( $table ) {
$table[‘щ’] = ‘sch’;
return $table;
} );

Word-initial letters use the uatr_initial_table filter.

Will existing URLs break after activation?

No. Existing slugs change only when you click Convert all in Tools Lytera UA LAT. After conversion old URLs redirect to the new ones.

Atsiliepimai

Įskiepis neturi atsiliepimų.

Programuotojai ir komandos nariai

“Lytera UA LAT” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės surašyti toliau.

Autoriai

Pakeitimų istorija

1.0.0

  • Initial release.