• 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  [ 12 posts ] 
Author Message
 Post subject: [Solved] Newbie q: how change some words in the language?
PostPosted: Fri Nov 11, 2011 4:57 pm 
Offline
Forum Members
Forum Members

Joined: Sun Jan 10, 2010 7:02 pm
Posts: 183
Is there a tool to make changes in my local installed languages?

There are a couple of words I'd like to change, how would I do that?


Last edited by janaf on Fri Nov 11, 2011 9:19 pm, edited 1 time in total.

Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Language newbie q: how change some words in the language
PostPosted: Fri Nov 11, 2011 6:08 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Oct 25, 2006 8:29 pm
Posts: 4968
Location: Raalte, the Netherlands
janaf,

see slide 18 of http://ronnyk.dyndns.org:8080/images/WS ... 0v0.03.pdf

Ronny


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [Solved] Newbie q: how change some words in the language
PostPosted: Sat Nov 12, 2011 7:52 am 
Offline
Forum Members
Forum Members

Joined: Sun Jan 10, 2010 7:02 pm
Posts: 183
Thanks, that should do it.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [Solved] Newbie q: how change some words in the language
PostPosted: Sun Nov 13, 2011 10:47 am 
Offline
Forum Members
Forum Members

Joined: Sun Jan 10, 2010 7:02 pm
Posts: 183
PS Is there also some admin panel tool for editing the language xml files for the core (in \modules\ThemeManager\Langs) and for the modules? I think I had one but can not find it now. :-[

This is for a non-english single language site.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [Solved] Newbie q: how change some words in the language
PostPosted: Sun Nov 13, 2011 4:43 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Oct 25, 2006 8:29 pm
Posts: 4968
Location: Raalte, the Netherlands
I would go for the custom_lang thingy, as that makes sure that it is seperated from the real lang-file. So with updating stuff, you wont loose your changes

Ronny


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [Solved] Newbie q: how change some words in the language
PostPosted: Wed Nov 16, 2011 11:32 am 
Offline
Forum Members
Forum Members

Joined: Sun Jan 10, 2010 7:02 pm
Posts: 183
So I create my own strings and swap the name of them in the template?


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [Solved] Newbie q: how change some words in the language
PostPosted: Wed Nov 16, 2011 7:18 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Oct 25, 2006 8:29 pm
Posts: 4968
Location: Raalte, the Netherlands
I think you lost me... I thought you wanted to have other words showing for existing labels. That can be done with the thing I described. The label-string is existing then and is called in the language-file. It shows what its find then, first looking in module_custom, or in the default area.

So without the copy/paste of the labels that you want changed, and then modify in the module_custom, there is nothing needed.

So I dont understand what you mean, with replacement in the template.

Ronny


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [Solved] Newbie q: how change some words in the language
PostPosted: Thu Nov 17, 2011 8:03 pm 
Offline
Forum Members
Forum Members

Joined: Sun Jan 10, 2010 7:02 pm
Posts: 183
OK, now I think I get it;

If i add a word in my custom language file, it will have precedence over the word in the original language file, so I do not need to use another label name. Yes?


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [Solved] Newbie q: how change some words in the language
PostPosted: Fri Nov 18, 2011 6:19 am 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Oct 25, 2006 8:29 pm
Posts: 4968
Location: Raalte, the Netherlands
Janaf,

correct.. It will check there first. The nice thing with this method is, that it is upgrade-proof, as you didnt modify a module-file, so it wont overwrite your change on an upgrade.

Ronny


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [Solved] Newbie q: how change some words in the language
PostPosted: Sun Nov 20, 2011 3:01 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Sun Apr 24, 2011 8:14 pm
Posts: 81
Location: Montenegro
I think You should create a new translation project for your language and make it official, so that other people can help you - just like you could help them.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [Solved] Newbie q: how change some words in the language
PostPosted: Sun Nov 20, 2011 6:05 pm 
Offline
Forum Members
Forum Members

Joined: Sun Jan 10, 2010 7:02 pm
Posts: 183
It is a well kept language module and I only changed one or two word, so I do not think there is any advantage in publishing it.

However, I have been thinking of making a module for the admin panel, for editing and adding changes to a language file. If it is within my capability......


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [Solved] Newbie q: how change some words in the language
PostPosted: Mon Nov 28, 2011 10:21 am 
Offline
Forum Members
Forum Members
User avatar

Joined: Sun Apr 24, 2011 8:14 pm
Posts: 81
Location: Montenegro
Well, if you think that your changes enhance understandability and usability, than you should definitely give recommendations to the translation team. Or even better, join them! :)


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 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:  
Hosting Nation - Managed CMSMS Hosting