All questions about EDocman extension

Translate "Please enter keyword for searching"

  • Ezequiel Lidijover
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 10 months ago #147104 by Ezequiel Lidijover
Translate "Please enter keyword for searching" was created by Ezequiel Lidijover
Hello there,
where I can translate the alert message that appears when using the "search module" and not typing a keyword:

This message:
"Please enter keyword for searching"

Thanks
Ezequiel

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

More
3 years 10 months ago #147106 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Translate "Please enter keyword for searching"
Hi,
You can use Translation tool at Backend of Edocman and filter the language constant: "EDOCMAN_SEARCH_WORD"
Thanks
Dam

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

  • Ezequiel Lidijover
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 10 months ago #147110 by Ezequiel Lidijover
Replied by Ezequiel Lidijover on topic Translate "Please enter keyword for searching"
Maybe I explain it wrong.
What I need is to translate the alert message that appears when the search does not complete the field with any keyword (I attach a screenshot of that message)

This "EDOCMAN_SEARCH_WORD" is for the word "Search" that I already translated

I did not find in the language pack anything associated with the alert message "Please enter keyword for searching"

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

More
3 years 10 months ago #147114 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Translate "Please enter keyword for searching"
Hi,
Currently, we are using hard code text in the alert. You can follow below steps to change the content of the message
1. Create folder: root -> templates -> your_using_template -> html -> mod_edocman_search
2. Copy file: root -> modules -> mod_edocman_search -> tmpl -> default.php into that folder
3. Open that file by notepad and change content of the message:
"Please enter keyword for searching"
Thanks
Dam

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

  • Ezequiel Lidijover
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 10 months ago #147115 by Ezequiel Lidijover
Replied by Ezequiel Lidijover on topic Translate "Please enter keyword for searching"
Thank you so much! it worked perfectly

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

More
3 years 10 months ago #147116 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Translate "Please enter keyword for searching"
You're welcome
Thanks
Dam

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

Moderators: Dang Thuc Dam