[Solved] Newbie q: how change some words in the language?

Have a translation or something? It goes here. This can mean modules, documentation, or CMSMS itself!
Post Reply
janaf
Forum Members
Forum Members
Posts: 183
Joined: Sun Jan 10, 2010 7:02 pm

[Solved] Newbie q: how change some words in the language?

Post by janaf »

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.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: Language newbie q: how change some words in the language

Post by RonnyK »

janaf
Forum Members
Forum Members
Posts: 183
Joined: Sun Jan 10, 2010 7:02 pm

Re: [Solved] Newbie q: how change some words in the language

Post by janaf »

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

Re: [Solved] Newbie q: how change some words in the language

Post by janaf »

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.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: [Solved] Newbie q: how change some words in the language

Post by RonnyK »

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
janaf
Forum Members
Forum Members
Posts: 183
Joined: Sun Jan 10, 2010 7:02 pm

Re: [Solved] Newbie q: how change some words in the language

Post by janaf »

So I create my own strings and swap the name of them in the template?
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: [Solved] Newbie q: how change some words in the language

Post by RonnyK »

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
janaf
Forum Members
Forum Members
Posts: 183
Joined: Sun Jan 10, 2010 7:02 pm

Re: [Solved] Newbie q: how change some words in the language

Post by janaf »

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?
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: [Solved] Newbie q: how change some words in the language

Post by RonnyK »

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
scelle
Forum Members
Forum Members
Posts: 81
Joined: Sun Apr 24, 2011 8:14 pm
Location: Montenegro

Re: [Solved] Newbie q: how change some words in the language

Post by scelle »

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.
janaf
Forum Members
Forum Members
Posts: 183
Joined: Sun Jan 10, 2010 7:02 pm

Re: [Solved] Newbie q: how change some words in the language

Post by janaf »

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......
scelle
Forum Members
Forum Members
Posts: 81
Joined: Sun Apr 24, 2011 8:14 pm
Location: Montenegro

Re: [Solved] Newbie q: how change some words in the language

Post by scelle »

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! :)
Post Reply

Return to “Translations”