Jump to content



Photo
* * * - - 2 votes

[CONTRIBUTION] Sloppy Words Cleaner


  • Please log in to reply
65 replies to this topic

#61   stragami

stragami
  • Members
  • 94 posts
  • Real Name:Alfred
  • Gender:Male
  • Location:Germany

Posted 09 July 2009 - 14:51

thanks but where i can change the characterset (what i have to do) and where i can enter the character exceptions
please let me have a smal saples as im not a star in developing

thx
alfred

#62   stragami

stragami
  • Members
  • 94 posts
  • Real Name:Alfred
  • Gender:Male
  • Location:Germany

Posted 05 August 2009 - 13:20

cant fix it by myself- so i must take it out

#63   Cheepnis

Cheepnis
  • Members
  • 100 posts
  • Real Name:Cheepnis
  • Gender:Male

Posted 24 April 2011 - 22:51

Nice mod! Easy install and great performance - thanks for providing this.

It might be nice to have this add-on test for two-letter states (such as in the US) which would be all upper-case and other countries which would then be made title case. Right now, all states are upper case, even if they enter "Avon on Green" as the state and all other fields are Title Case. Not a big deal for me, as most of my customers are in the US, but for other countries, it probably looks a little funny to have everything corrected but the state being UPPER CASE.

#64   raiwa

raiwa
  • Community Sponsor
  • 455 posts
  • Real Name:Rainer Schmied
  • Gender:Male
  • Location:Sant Iscle de Vallalta, Barcelona, Spain

Posted 02 December 2011 - 19:57

cant fix it by myself- so i must take it out


Hello,

I had the same problem with german umlauts and spanish accents. Even worse, the add-on didn't do any change on special characters.
So after a huge amount of try and error, I'm not a programmer, I found a solution which maybe is not too elegant, but works.
I uploaded it as version 1.5 here:

http://addons.oscommerce.com/info/5550

-- v1.5 === Support for special characters like ä,é,ç for german, spanish, french, and skandinavian languages added.
1. New function to convert special characters to lower case added.
2. New function to convert letters following special characters to lower case added (Müller instead of MüLler, Fernández instead of FernáNdez).
3. New function to convert special characters in first letter of words to upper case(Úbeda instead of úbeda).
Special characters for other languages like czech or serbo-croat can be added.
4. Some more details are changed to older versions:
a. RemoveShoutingCN for the company is commented out.
Reason: Company names have a huge amount of possible combinations of upper and lower case which in my opinion can not be included all in the exceptions list.
b. "True" statement added to firstname, lastname "RemoveShouting", this activates the exception lists for names.
c. Some more exceptions added to name and address for german, spanish and french language.
5. Support added for add-ons:
"DHTML State Selection for 2.3.1" http://addons.oscommerce.com/info/8028
"DHTML State Selection" (v2.2) http://addons.oscommerce.com/info/6975
"NIF" http://addons.oscommerce.com/info/1778

best regards
Rainer

#65   actarus1011

actarus1011
  • Members
  • 28 posts
  • Real Name:Christian BECKERS

Posted 03 April 2012 - 06:22

Hi...

Thanks for this very nice contribution... I was still in 1.4 and I'm updating...

Following question passed then through my mind :
Would it be possible to check the whole database updating names (a kind of script that you can launch, specially after an update so that previously registered user can enjoy their "new name" ^^ ) ?

Thanks

#66   raiwa

raiwa
  • Community Sponsor
  • 455 posts
  • Real Name:Rainer Schmied
  • Gender:Male
  • Location:Sant Iscle de Vallalta, Barcelona, Spain

Posted 03 April 2012 - 14:34

Hi...

Thanks for this very nice contribution... I was still in 1.4 and I'm updating...

Following question passed then through my mind :
Would it be possible to check the whole database updating names (a kind of script that you can launch, specially after an update so that previously registered user can enjoy their "new name" ^^ ) ?

Thanks



Hello,

I think this is possible, but it goes far over my php programming capacities.
As I corrected before the chaotic entries manually one by one, i didn't worry about this.
Of course it would be nice if someone out there with enough programming skills could add this.

Best regards
Rainer