Maverick Posted October 14, 2014 Share Posted October 14, 2014 Hey there guys, I am starting to get to know processwire a little and just installed the Blog profile as a learning enviroment. So far I've learnt a bit about translating admin dashboard, now I'm playing with the front end translation for quests and I can't figure out how to translate the search-form placeholder (without hardcode changing it in the main.inc - also it seems that you can't add main.inc to the language manager as that file has no translatable phrases?) but the main.inc contains the search-form placeholder: placeholder='<?php echo $searchPage->title; ?>'> also I cannot find anything related to translation of the month namescould you give me some tips, direction with it? Link to comment Share on other sites More sharing options...
Gayan Virajith Posted October 15, 2014 Share Posted October 15, 2014 Hello, Welcome to the forum... Thanks to Purwa and Arjen you could see this https://processwire.com/talk/topic/7945-question-about-multi-language/ In simply you can try like follows: placeholder="<?php echo __('Your placeholder') ?>"> Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now