Inside Mage_Core.csv have the following line

"Please input a valid CSS-length. For example 100px or 77pt or 20em or .5ex or 50%."

The problem is, Magento expect this % to be a parameter, and gives me the error

"vsprintf(): Too few arguments"

How can i ignore this '%' ?


For a literal percent character, use %%

Reference: Magento uses vsprintf to format translations https://secure.php.net/vsprintf

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.