FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » FUDforum 3.0+ » The localisation could be much faster if ...
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: The localisation could be much faster if ... [message #4675 is a reply to message #4592] Fri, 02 August 2002 14:43 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma:
Senior Member
Administrator
Core Developer
Quote:


1) When 2 strings are duplicated, the compiler script simply says in a very inpleasant message "a message is duplicated at line XXX".
a) This line is NOT the ligne from the msg file and the concerned file (concidering that it is not a completly funny number from I don't know where) is not even mentioned. The newby could have real problems and spend a lot of time trying to figure out what bloody message is replicated (believe me, I have done it). I think a little something extra (e.g. specifying the name of the file or the real line number in the msg file) would be excellent and would prevent the guy starting the translation from droping out thinking it is tooooo complicated Confused



Hrm, the error seems pretty detailed to me, it says which file the duplication occured on and on what line.

Here is an example error message, I got when I made a duplicate entry inside the msg file.

duplicated message: search_sorting in
/home/forum2/src/install/forum_data/thm/default/i18n/english/msg on line #896, 
previous entry found on line #895 in
home/forum2/src/install/forum_data/thm/default/i18n/english/msg


Seems pretty clear to me.

Quote:


2) The script could (I don't know how) be able to detect special characters to be escaped (only <'> as far as I can see) - However the triky part is that this character must not be escaped everywhere - The reason being that some of the strings are going to be "copied/passed" in HTML, some will be put within some PHP code which are not going to be very happy in meeting a character <'> in the middle of a string.


Special characters such as ' should be represented by their equivalent HTML codes, for example instead of ' use &#39;


FUDforum Core Developer
[Message index]
 
Read Message icon11.gif
Read Message
Previous Topic: How could I make the user able to change language on the fly?
Next Topic: Most stable/functional version?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 20:28:03 GMT 2024

Total time taken to generate the page: 0.04468 seconds