We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

CM Strange URL Interpreter [extension]

Development and Programming

Gabriel's avatar
Gabriel
130 posts
17 years ago
Gabriel's avatar Gabriel

CM Strange URL Interpreter extension

This extension gives ability to convert foreign-language characters in entry’s URL Title to proper characters.

Note: This thread is dedicated CM Strange URL Interpreter started in the URL Title Foreign Character Conversion thread.

Installation:

  1. Make sure, you are running ExpressionEngine v.1.6 or above;
  2. Upload the file named “ext.cm_strange_url_interpreter.php” to the folder: /system/extensions/;
  3. Upload the file named “lang.cm_strange_url_interpreter.php” to the proper language folder /system/language/ folder;
  4. Go into the Extensions Manager in your admin area and enable it;
  5. Now will be foreign characters in entry’s title converted to URL title in friendly format. E.g.: “ß” like “ss”; “ш” like “sh” etc.
  6. If you need, modify lang.cm_strange_url_interpreter.php for your native language as you wish.
  7. Enjoy the new EE feature.

Download caleydon.com/en/project/cm-strange-url-interpreter/

History

Version 2.2.0 - 31/08/2008 - Added: Czech language file (Translated by Pavel Kotrla).

Version 2.1.0 - 27/07/2008 - Added: Characters supporting Greek language (Requested by E.ZISI)

Version 2.0.1 - 25/06/2008 - Fixed: Docs. URL

Version 2.0.0 - 14/06/2008 - Changing extension name (Strange URL Interpreter –> CM Strange URL Interpreter); - Rewriting source code; - Added language file contains character array. This allowed modify characters for each other languages.

Version 1.4.0 - 10/11/2007 - Added characters better supporting Hungarian language (Thanks to Istvan Gyorgi).

Version 1.3.0 - 22/09/2007 - Added character set supporting Poland language (Thanks to Gabriel Borkowski).

Version 1.2.0 - 07/07/2007 - Added: Lira, Degree, Yen, Pound and Cent sign; - Fixed: Update and Disable function.

Version 1.1.0 - 25/06/2007 - Renaming of the extension from “Foreign URL Title” to “Strange URL Interpreter”.

Version 1.0.0 - 25/06/2007 - Initial release.

       
Laisvunas's avatar
Laisvunas
879 posts
15 years ago
Laisvunas's avatar Laisvunas

Hi Gabriel,

I compiled list of rules enabling to convert the characters from unicode’s greek extended subrange into betacode notation (widely used by classics scholars). These rules are not consistent with current set of rules for converting greek characters and can be used as an alternative for that set.

If you like such contribution, you can freely include it in extension’s package.

       
Laisvunas's avatar
Laisvunas
879 posts
15 years ago
Laisvunas's avatar Laisvunas

Hi,

FYI: I published a new extension - URL Title Chars, which also converts non-latin characters in URL title, but to specify a conversion rule the user should edit only language file.

       
Georgiy Ivankin's avatar
Georgiy Ivankin
7 posts
15 years ago
Georgiy Ivankin's avatar Georgiy Ivankin
CM Strange URL Interpreter extension

Thanks a lot for this! Just want to mention for russian users — cesky language file works fine for russian langauge (with one minor exception — “ц” is transliterated as “c”, not “ts”).

       
Aenarion's avatar
Aenarion
51 posts
15 years ago
Aenarion's avatar Aenarion

Any chance we will see this ported to EE 2.0?

In 1.6.8 I had to do a hack in publish file to achieve this before I discover this add-on. It’s very useful for languages other than english.

cheers

       
vladyn's avatar
vladyn
176 posts
15 years ago
vladyn's avatar vladyn

absolutely awesome - many thanks !!!

       
Ramya108's avatar
Ramya108
123 posts
15 years ago
Ramya108's avatar Ramya108

Very nice, thank you. Just need to add đ (needs to be converted to d).

Can’t quite figure out how to do that. Tried to edit the file (ang.cm_strange_url_interpreter.php), with no results.

Help!

       
Ramya108's avatar
Ramya108
123 posts
15 years ago
Ramya108's avatar Ramya108

Gabriel, do you still support this extension? I need your help. I am trying to add Croatian characters đ and Đ, but to no avail.

I inserted the following lines of code into the “lang.cm_strange_url_interpreter.php:

‘cm_272’ => “d”, // Đ ‘cm_273’ => “d”, // đ

But that does not seem to work. Please help!

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.