This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When logged in, go to "Settings > Checkout > Checkout Language", click the "View and customize this translation" link. | |
A page with a url like this opens: "https://yourshop.myshopify.com/admin/settings/locales/[locale_id]". | |
copy [locale_id]. | |
Go Back and choose "create a new one". | |
Open the Javascript console, paste this (change to your shop/locale_id first): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( ! function_exists( 'populate_roles' ) ) { | |
include_once( ABSPATH . '/wp-admin/includes/schema.php' ); | |
} | |
populate_roles(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[findRegularExpression "[ÀàÁáÂâÃãÄäÅåĀāĂ㥹ǞǟǺǻ]", <name>, "a"] | |
[findRegularExpression "[ÆæǼǽ]", <name>, "ae"] | |
[findRegularExpression "[Ḃḃ]", <name>, "b"] | |
[findRegularExpression "[ĆćÇçČčĈĉĊċ]", <name>, "c"] | |
[findRegularExpression "[ḐḑĎďḊḋĐđÐðDZdzDŽdž]", <name>, "d"] | |
[findRegularExpression "[ÈèÉéĚěÊêËëĒēĔĕĘęĖėƷʒǮǯ]", <name>, "e"] | |
[findRegularExpression "[Ḟḟƒfffiflffifflſt]", <name>, "f"] | |
[findRegularExpression "[ǴǵĢģǦǧĜĝĞğĠġǤǥ]", <name>, "g"] | |
[findRegularExpression "[ĤĥĦħ]", <name>, "h"] | |
[findRegularExpression "[ÌìÍíÎîĨĩÏïĪīĬĭĮįİıIJij]", <name>, "i"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[find "À", <name>, "a" ] | |
[find "à", <name>, "a" ] | |
[find "Á", <name>, "a" ] | |
[find "á", <name>, "a" ] | |
[find "Â", <name>, "a" ] | |
[find "â", <name>, "a" ] | |
[find "Ã", <name>, "a" ] | |
[find "ã", <name>, "a" ] | |
[find "Ä", <name>, "a" ] | |
[find "ä", <name>, "a" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Sunnytize | |
Plugin URI: | |
Description: A better file name sanitizer | |
Version: 1.0 | |
Author: Sunny Ripert | |
Author URI: http://sunfox.org | |
*/ |