Rename a word

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Ludovic.W
Posts: 13
Joined: 30 Aug 2016, 05:45

Rename a word

Post 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.
Attachments
The word
The word
Capture.PNG (159.09 KiB) Viewed 10700 times
atrol
Site Admin
Posts: 8375
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Rename a word

Post 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
Please use Search before posting and read the Manual
Ludovic.W
Posts: 13
Joined: 30 Aug 2016, 05:45

Re: Rename a word

Post 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.
Ludovic.W
Posts: 13
Joined: 30 Aug 2016, 05:45

Re: Rename a word

Post by Ludovic.W »

I have found the solution, a lot of thank ! [resolved]
atrol
Site Admin
Posts: 8375
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Rename a word

Post 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
Please use Search before posting and read the Manual
Ludovic.W
Posts: 13
Joined: 30 Aug 2016, 05:45

Re: Rename a word

Post by Ludovic.W »

Okay thank you :)
Ludovic.W
Posts: 13
Joined: 30 Aug 2016, 05:45

Re: Rename a word

Post 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.
atrol
Site Admin
Posts: 8375
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Rename a word

Post 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?
Please use Search before posting and read the Manual
Ludovic.W
Posts: 13
Joined: 30 Aug 2016, 05:45

Re: Rename a word

Post 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.
atrol
Site Admin
Posts: 8375
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Rename a word

Post 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?
Please use Search before posting and read the Manual
Post Reply