Page 1 of 1
Search prompt not translated?
Posted: Fri Jul 05, 2019 8:44 am
by Miki
Hi Jeff,
the search box is not in the translations strings ...
Also the file type on upload eml files
Regards
Miki
Re: Search prompt not translated?
Posted: Fri Jul 05, 2019 6:26 pm
by Jeff
hmm... you're right. And text that contain variables is always complicated to translate (yes, the '2' and '20' can be configured ).

"less than 2 characters"

(should be "less than 3")
So that needs to be updated regardless. I hate just removing the numbers but it sure is the easiest solution.

Maybe I could introduce variables into the text? So that something like "%1%" and "%2%" gets replaced by the numbers.
...
Ok, so the new text is:
"Your search does not contain any valid words.\n\nCommon words and words outside the range of %1%-%2% characters are excluded."
which ends up looking like:

- PP_NewInvalidSearch.png (4.08 KiB) Viewed 29739 times
I think this is the most flexible way to allow languages to display variables (especially RTL...) and I wish I had thought of it sooner.
What do you think -- will the introduction of these variables into the text make sense when you're translating it?
Re: Search prompt not translated?
Posted: Mon Jul 08, 2019 5:27 am
by Miki
Yes, I like it and it's more simple to translate.
Thanks
Miki