todorov.com Posted September 22, 2006 Share Posted September 22, 2006 Here is example<?php $lang = array ( //2.2 'gbl_more_search' => "More Search Options", 'gbl_auto_close' => "(Message will auto close in 2 seconds)", 'gbl_my_friends' => "My Friends", 'gbl_sitemsg_header' => 'Site Message', 'gbl_gd_reload' => 'Click to generate a new image', 'mygallery' => "My Albums", //2.1.4 - for IDM when released 'idm_header' => "Downloads",Here is what to look at:'gbl_sitemsg_header' => 'Site Message', 'Site Message' should be "Site Message" ... for all, right? There are errors like this on many language files, I'm fixing this while I translate to Bulgarian but i think this is kind of bugs in them.. ? Link to comment Share on other sites More sharing options...
Keith J. Kacin Posted September 22, 2006 Share Posted September 22, 2006 Please submit any bugs to the Bug Tracker: http://forums.invisionpower.com/index.php?autocom=bugtrackerThis will help us keep better track of them. :) Link to comment Share on other sites More sharing options...
todorov.com Posted September 22, 2006 Share Posted September 22, 2006 /** * JS Language File: English */ var message_pop_up_lang = { // DEFAULT 'error' : 'An Error Occurred', 'no_permission' : 'You do not have permission for that action', 'cannot_cont' : 'Cannot continue with this request', 'settings_updated' : 'Settings Updated', // Custom errors: 'pp_date_error' : 'Date must be a legal valid date', 'pp_friend_exist' : 'That member does not appear to exist', 'pp_friend_already' : 'You already have that member as your friend', 'pp_friend_removed' : 'Friend(s) Removed', // Friend added: 'pp_friend_added' : 'Your friend(s) have been added to your list!', 'pp_friend_added_mod' : 'Your friend must approve your request', 'pp_friend_approved' : 'Friend request approved', // Comments update 'pp_comments_updated' : 'Comments updated', 'pp_comment_added_mod' : "Comment must be approved before it's shown", // POLL MODULE 'already_voted' : 'You have already voted', // ARTICLES MODULE 'rating_updated' : 'Your rating has been updated', 'rating_added' : 'Your rating has been added', 'rating_already' : 'You have rated this article already' }; /**' or " here?!?!I'll submit to BUGs as well... but let me know because i'm translating.. Link to comment Share on other sites More sharing options...
riven3d Posted September 22, 2006 Share Posted September 22, 2006 its too early for you to be translating, what are you gonna do if they happen to change something after you have done your translation Link to comment Share on other sites More sharing options...
Will L. Posted September 22, 2006 Share Posted September 22, 2006 its too early for you to be translating, what are you gonna do if they happen to change something after you have done your translationwhat you do not want him to test it out man he needs it translated to use the beta at all man otherwise it be in english Link to comment Share on other sites More sharing options...
riven3d Posted September 22, 2006 Share Posted September 22, 2006 ive already had enough with you, suggest you just be quiet to me Link to comment Share on other sites More sharing options...
Mat Barrie Posted September 22, 2006 Share Posted September 22, 2006 ive already had enough with you, suggest you just be quiet to meTo be fair, since this is now virtually feature complete, there's no harm to starting translation now. After all, all it means is that he'll have less work to do later when the final is released :) Link to comment Share on other sites More sharing options...
riven3d Posted September 22, 2006 Share Posted September 22, 2006 to be fair thats a better answer, .Will just need to go away, think i need to add him to my ignore list Link to comment Share on other sites More sharing options...
Management Matt Posted September 22, 2006 Management Share Posted September 22, 2006 Why would using single quotes instead of double quotes be considered a bug? Link to comment Share on other sites More sharing options...
RedEnzian Posted September 22, 2006 Share Posted September 22, 2006 its not directly a bug, but strings in single quotings can be faster to process for the interpreter than strings in double quotes.escape sequences and interpreted stuff have to be in double quotes. when using single quotes, the php interpreter will not search for such things.so u can use single quotes to make your scripts faster, but i don Link to comment Share on other sites More sharing options...
Mat Barrie Posted September 22, 2006 Share Posted September 22, 2006 its not directly a bug, but strings in single quotings can be faster to process for the interpreter than strings in double quotes.escape sequences and interpreted stuff have to be in double quotes. when using single quotes, the php interpreter will not search for such things.so u can use single quotes to make your scripts faster, but i don Link to comment Share on other sites More sharing options...
RedEnzian Posted September 22, 2006 Share Posted September 22, 2006 the first posting is in an php file, i haven Link to comment Share on other sites More sharing options...
Mat Barrie Posted September 22, 2006 Share Posted September 22, 2006 the first posting is in an php file, i haven Link to comment Share on other sites More sharing options...
riven3d Posted September 22, 2006 Share Posted September 22, 2006 but wait if its a php file, how can he do it, the files are encoded? Link to comment Share on other sites More sharing options...
todorov.com Posted September 22, 2006 Share Posted September 22, 2006 To be fair, since this is now virtually feature complete, there's no harm to starting translation now. After all, all it means is that he'll have less work to do later when the final is released :)Right! ;) its not directly a bug, but strings in single quotings can be faster to process for the interpreter than strings in double quotes.escape sequences and interpreted stuff have to be in double quotes. when using single quotes, the php interpreter will not search for such things.so u can use single quotes to make your scripts faster, but i don Link to comment Share on other sites More sharing options...
RedEnzian Posted September 22, 2006 Share Posted September 22, 2006 language files are not encoded, same as skin files. Link to comment Share on other sites More sharing options...
riven3d Posted September 22, 2006 Share Posted September 22, 2006 good, that was the discussion, they orginally were gonna encode the files Link to comment Share on other sites More sharing options...
Mat Barrie Posted September 22, 2006 Share Posted September 22, 2006 So there is no difference in " or ' .. whatever i want.. i use.. ?!Right. The only difference would be if it's actually using PHP string replacement, which they aren't. So you're good ;) Link to comment Share on other sites More sharing options...
RedEnzian Posted September 22, 2006 Share Posted September 22, 2006 So there is no difference in " or ' .. whatever i want.. i use.. ?!Aslong as you use the same type to close the string, there is no difference (" close with " and ' close wihth ' )Exept der is something like \n or $var in it, then you have to use ". Link to comment Share on other sites More sharing options...
todorov.com Posted September 22, 2006 Share Posted September 22, 2006 Good, then everyone go translate now.. stop flooding here! ;) Link to comment Share on other sites More sharing options...
WalleniuM Posted September 24, 2006 Share Posted September 24, 2006 i got some issues here.. if some other translator could recheck it ;)http://forums.invisionpower.com/index.php?...g_title_id=2775 Link to comment Share on other sites More sharing options...
todorov.com Posted September 26, 2006 Share Posted September 26, 2006 I think there will be changes to language files prior to FINAL release, will these changes be marked somehow?! I've already translated the needed parts and the files are ready to be used, but what if there are changes?! Link to comment Share on other sites More sharing options...
Nimdock Posted October 22, 2006 Share Posted October 22, 2006 I started upgrading the Spanish Pack to 2.2... too many changes from no quotes to single quotes... then the problem going from $lang['topic_text'] to 'topic_text'... yes, I know they work the same way, but it would be kind of nice if you guys stick to a specific format so we don't have to be going back and forth... :) Link to comment Share on other sites More sharing options...
bfarber Posted October 23, 2006 Share Posted October 23, 2006 then the problem going from $lang['topic_text']to 'topic_text'... yes, I know they work the same way, but it would be kind of nice if you guys stick to a specific format so we don't have to be going back and forthAll language files should be in the second format. How are you ending up, or seeing, $lang['some_key'] format?If you use the language API file, or edit languages from the ACP, they should always be in the second format in 2.2. :huh: Link to comment Share on other sites More sharing options...
Nimdock Posted October 23, 2006 Share Posted October 23, 2006 Some files were left like that in the 2.1 release... two to be exact (no biggie)... but they're all in the same format now.Now, for some (not all) of the entries in some files there were no quotes and now all of them seem to have single quotes, for instance...We went from (2.1)reg_success => "Registration Successful", To (2.2) 'reg_success' => "Registration Successful",Is that something that was "fixed" for this release or were my files corrupted somehow? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.