ScriptLocalization code generation feature request

More
10 years 6 months ago #96 by Jos
Hello.

When using the Script tool to create the runtime values, it would be helpful to sanitize the inputs. Even something as simple as adding underscores to spaces, or simply removing spaces from existing keys would help. I realize that this may then cause key collisions, but that case would be pretty rare, and you could trap for it. However, it would increase the usefulness of the ScriptLocalization tool in a huge way. While i am a programmer and understand the importance of naming conventions, not all my Designers do, and if the tool could help me (via space replacement) it would be great.

Low importance feature request.

Thanks
Jos

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #99 by Frank
You are absolutely right about that!
The terms could include invalid characters that will generate compiling errors.

I will add some type of sanity checks on the terms before generating the list. Either using the standard functions to generate URL compatible strings or some alternative method.

Thanks for spotting that case!
Frank

Are you :-) Give I2L 5 stars!
Are you :-( Please lets us know how to improve it!
To get the betas as soon as they are ready, check this out
The following user(s) said Thank You: Jos

Please Log in or Create an account to join the conversation.

Time to create page: 0.177 seconds
Template by JoomlaShine