Tuesday, November 17, 2015

Generate the CRC32 Hash for the translation string

Generate the CRC32 Hash for the translation string

$str = 'Mage_Core::test';
echo crc32($str);

2921638064

Sample record in core_translate table:

INSERT INTO `core_translate` VALUES ('1', 'Mage_Core::test', '0', 'テスト', 'ja_JP', '2921638064');

No comments: