LWSChad Posted July 5, 2017 Report Share Posted July 5, 2017 Hello, I'm tying to improve my app's error messages using Localizations. I see on some error messages there are variables or parameters that provide the user with some very valuable information. Value cannot be shorter than %s characters. Value cannot be larger than %n characters. Are you sure you want to delete %n records. %p authorization failed. Cannot redirect to %p etc. Does anybody know how to use these, or where I can find a list of the variables we can use and how to? Thanks and ThinkEZ Quote Link to comment Share on other sites More sharing options...
0 Vitalikssssss Posted July 6, 2017 Report Share Posted July 6, 2017 15 hours ago, ezIQchad said: Hello, I'm tying to improve my app's error messages using Localizations. I see on some error messages there are variables or parameters that provide the user with some very valuable information. Value cannot be shorter than %s characters. Value cannot be larger than %n characters. Are you sure you want to delete %n records. %p authorization failed. Cannot redirect to %p etc. Does anybody know how to use these, or where I can find a list of the variables we can use and how to? Thanks and ThinkEZ Hi ezlQchad You can define listed variables within Localization settings. Please clarify how you would like to use these variables? I have a doubt that these variables can be customized, expect to change their order in the message text. Regards, vitalikssssss Quote Link to comment Share on other sites More sharing options...
0 LWSChad Posted July 10, 2017 Author Report Share Posted July 10, 2017 On 7/6/2017 at 2:11 AM, Vitalikssssss said: Please clarify how you would like to use these variables? I want to see a list of available variables I can use here or there. What specifically brought me to this question were File Size error messages and a Date Format error messages that are vague and nondescript. I know I can change the wording, which helps, but I'd like to use the cool variables like "Are you sure you want to delete %n records" in the rest of my error messages. Does anybody know how to use these cool variables? Quote Link to comment Share on other sites More sharing options...
0 Vitalikssssss Posted July 11, 2017 Report Share Posted July 11, 2017 9 hours ago, ezIQchad said: I want to see a list of available variables I can use here or there. What specifically brought me to this question were File Size error messages and a Date Format error messages that are vague and nondescript. I know I can change the wording, which helps, but I'd like to use the cool variables like "Are you sure you want to delete %n records" in the rest of my error messages. Does anybody know how to use these cool variables? Hi ezlQchad, Please note that each variable is assigned to the particular error message ("Element" column). I am afraid that you will not be able to use variables in different messages. Regards, vitalikssssss Quote Link to comment Share on other sites More sharing options...
0 LWSChad Posted July 21, 2017 Author Report Share Posted July 21, 2017 Thanks for your message Quote Link to comment Share on other sites More sharing options...
Question
LWSChad
Hello,
I'm tying to improve my app's error messages using Localizations.
I see on some error messages there are variables or parameters that provide the user with some very valuable information.
Does anybody know how to use these, or where I can find a list of the variables we can use and how to?
Thanks and ThinkEZ
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.