Page 1 of 1

Rename a word

Posted: 31 Aug 2016, 07:06
by Ludovic.W
Hi guys,

How I can rename this word ?

I want "Cas" not "Bogue".

I put a screenshot for your help.

Thank's.

Re: Rename a word

Posted: 31 Aug 2016, 14:04
by atrol
It works the same way like https://mantisbt.org/forums/viewtopic.php?f=3&t=24042
Search in file lang/strings_french.txt for the right string id's ($s_????)

Do you think that french translation needs some enhancements in general?
If so and if you are interested in getting in your changes to next standard Mantis versions you can help to enhance the translation.
Translations are managed via TranslateWiki. Please refer our own Wiki [1] for the process to submit new translations or revise existing ones.

[1] http://www.mantisbt.org/wiki/doku.php/m ... tionshowto

Re: Rename a word

Posted: 01 Sep 2016, 13:36
by Ludovic.W
Okay, I have understand.

But I have again a question.

If I edit the file "\lang\strings_french.txt" and I replace a word, in Mantis is it also replaced ? Or do as the previous problem ?

Thank for your answers.

Re: Rename a word

Posted: 01 Sep 2016, 13:41
by Ludovic.W
I have found the solution, a lot of thank ! [resolved]

Re: Rename a word

Posted: 01 Sep 2016, 13:43
by atrol
Ludovic.W wrote: If I edit the file "\lang\strings_french.txt"
You should never change any of the existing files that come with Mantis, as you might get problems when upgrading to a newer version.
The right way is to copy what you want to change to file custom_strings_inc.php

Re: Rename a word

Posted: 01 Sep 2016, 14:16
by Ludovic.W
Okay thank you :)

Re: Rename a word

Posted: 01 Sep 2016, 14:20
by Ludovic.W
But the problem is if I don't change with "\lang\strings_french.txt, It's really long...

Whenever find and rewrite the line is very slow.

Have a good day.

Re: Rename a word

Posted: 02 Sep 2016, 06:04
by atrol
Not sure if I understand right.
You system is responding fast if you change strings in strings_french.txt, but your system is slow if you change strings using customn_strings_inc.php?
If so, can you share some more details?
What means fast? What means slow?

Re: Rename a word

Posted: 02 Sep 2016, 12:38
by Ludovic.W
No this isn't the problem, is that when you change a line in the "strings_french.txt" file it's very fast, but when you search the line and copy it to the "customn_strings_inc.php" file that takes time.

Re: Rename a word

Posted: 02 Sep 2016, 13:47
by atrol
Ludovic.W wrote:No this isn't the problem, is that when you change a line in the "strings_french.txt" file it's very fast, but when you search the line and copy it to the "customn_strings_inc.php" file that takes time.
Still not sure if I understand what you mean.
You are talking about the time it takes to copy a line from file strings_french.txt to file customn_strings_inc.php?