tivuno / tvgreeklish

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PrestaShop Greeklish module ”Nic”

How to use manually

Tvgreeklish::convert($string, $level, $slug, $uppercase)

  • $string: the genuine string
  • $level: 0 => regular mode, 1 => advanced mode, 2 => super advanced mode
    Eg ”επικοινωνία” becomes ”epikinonia” in mode 2 which lets us get rid of most of the mis-spelling issues
  • $slug: false => regular string, true => slug
  • $uppercase: false => lowercase, true => uppercase

Changelog

v1.0.8 - Tuesday, 17 Oct 2023

  • Feature: Converts accented latin to plain latin

v1.0.7 - Tuesday, 28 Feb 2023

  • Feature: Compatibility with PrestaShop v8 verified
  • Bug: Improper ELOT conversion noted by @sanctusmob

v1.0.6 - Friday, 09 Dec 2022

  • Feature: Super advanced mode added
  • Feature: Conversion choices of uppercase/lowercase & regular string/slug

v1.0.5 - Friday, 05 Aug 2022

  • Bug: Many spaces were not being converted to single dash

v1.0.4 - Friday, 05 Aug 2022

  • Feature: Regular/advanced mode
  • Improvement: Removed letters that existed in both of the conversion sets, thanx to @sanctusmob

About


Languages

Language:PHP 100.0%