• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Location of files
PostPosted: Mon Feb 22, 2010 9:13 pm 
Offline
Forum Members
Forum Members

Joined: Sat Oct 10, 2009 4:25 pm
Posts: 103
Hi, I have developed a site in Hungarian. Now I would like to duplicate it in English. Hence my questions. My formost questions is wheter CMSMS had a language file. If so, where is it located?

My more specific questions:
1. I use the default template with CSSMenu top + 2 columns
2. I cannot fine the text with something like "Jumpt to to of page"
3. I cannot find the text that shows up in the search module's little window saying line "text term.."
4. I cannot fine the text "read more..." that shows up at the bottom of News item previews.

Thanks for your help in advance.


Top
 Profile  
 
 Post subject: Re: Location of files
PostPosted: Mon Feb 22, 2010 9:25 pm 
Offline
Administrator
Administrator
User avatar

Joined: Tue Nov 28, 2006 8:39 pm
Posts: 417
Location: Norway
some is in yhe source of your template....
and others is strings in each actual module - like Search.

Its many ways to make a site to have more languages. try a search for multilingual in forum...
and maybe this direct link:
http://forum.cmsmadesimple.org/index.ph ... 099.0.html

_________________
ReneH 8-)


Top
 Profile  
 
 Post subject: Re: Location of files
PostPosted: Tue Feb 23, 2010 8:01 pm 
Offline
Forum Members
Forum Members

Joined: Sat Oct 10, 2009 4:25 pm
Posts: 103
Thanks for your feedback.

The only spot where I failed finding the text to translate is in Search Window saying "Enter Search ..." or similar for entering the search term.

I looked everytwhere, like the Search Module.php, but could not find the occurence of the text. I did find the variable holding the serch term enetered. It is $searchtext.

I did look at the source of the page where the Search Module shows up. The relevant code is this:

Code:
      <div id="search">
      <form id="cntnt01moduleform_1" method="get" action="http:...">
<div class="hidden">
<input type="hidden" name="mact" value="Search,cntnt01,dosearch,0" />
<input type="hidden" name="cntnt01returnid" value="15" />
</div>


    <label for="cntnt01searchinput">Search: </label><input type="text" class="search-input" id="cntnt01searchinput" name="cntnt01searchinput" size="20" maxlength="50" value="Keresett kifejezés..." onfocus="if(this.value==this.defaultValue) this.value='';" onblur="if(this.value=='') this.value=this.defaultValue;"/><input class="search-button" name="submit" value="Submit" type="submit" />

<input type="hidden" name="cntnt01passthru_News_summarytemplate" value="summary_template" />

</form>

            </div>



The current value of the text input on the form is "Keresett kifejezés..." which is equivalent to "Enter Search Term" or so. I suppose I should find the form "cntnt01moduleform_1", but so far I could not.

Thanks so much.


Last edited by docman on Tue Feb 23, 2010 8:37 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Location of files
PostPosted: Sat Mar 13, 2010 8:38 am 
Offline
Power Poster
Power Poster
User avatar

Joined: Thu May 14, 2009 8:11 pm
Posts: 1269
Location: Lithuania
docman: is it this phrase you are looking for?
Extensions » Search » Default Search Text ?

Alternatively you can customize lang files place it on "/module_custom/Search/lang"
http://forum.cmsmadesimple.org/index.ph ... #msg189358

_________________
My best friends are: FAQ: How can I debug my code/site ?...showtemplate=false...module_customhow to create a patch, {process_pagedata}
And Yours ? :)


Top
 Profile  
 
 Post subject: [SOLVED]Re: Location of files
PostPosted: Sat Mar 13, 2010 3:30 pm 
Offline
Forum Members
Forum Members

Joined: Sat Oct 10, 2009 4:25 pm
Posts: 103
Thanks. Eventually, I was able to enter the term as a part of the module call.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Arvixe - A CMSMS Partner