Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-15-2014, 11:46 AM
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Location: USA
Posts: 707
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Phrase Issues

Hey all,

I've got some weird phrase issues going on. I installed French on my forum, and it appears to be leaking into the English. I can fix it manually by copying the default text into the English language, but there's just so much...

Has anyone encountered this problem? Have you found an easier way to fix it? If you haven't, but have an idea, please share.

Much thanks!

Edit: To fix this issue, run this query:

highly recommend backing up your board first though - I lost my custom phrases in the process

Code:
DELETE FROM phrase WHERE languageid = 0
Reply With Quote
  #2  
Old 12-15-2014, 12:47 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm...in the admincp under Settings > Options > Style & Language Settings, what do you have selected for Default Language?
Reply With Quote
2 благодарности(ей) от:
Daniel, RichieBoy67
  #3  
Old 12-15-2014, 12:58 PM
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Location: USA
Posts: 707
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Funny you should ask :P
Attached Images
File Type: png Screen Shot 2014-12-15 at 6.57.53 AM.png (32.2 KB, 0 views)
Reply With Quote
  #4  
Old 12-15-2014, 01:03 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So you have English selected as default but you're still getting French sometimes? I guess that was my only idea.
Reply With Quote
  #5  
Old 12-15-2014, 01:07 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perhaps the language pack has phrases in it that are not in vB by default?
Reply With Quote
2 благодарности(ей) от:
Daniel, RichieBoy67
  #6  
Old 12-15-2014, 01:08 PM
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Location: USA
Posts: 707
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
So you have English selected as default but you're still getting French sometimes?
Yep, exactly.

Quote:
Originally Posted by ozzy47
Perhaps the language pack has phrases in it that are not in vB by default?
I dunno, I downloaded the French version directly from the vBulletin.com Members Area, but I suppose that's possible. What to do?
Reply With Quote
  #7  
Old 12-15-2014, 01:26 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I've never installed a language pack or worked with anything other than English, but I've looked at the fetch_phrase() function that decides which language to get a phrase from. It goes through them in a certain order and looks for the first language where the phrase is non-blank. So from what you describe it seems that it's finding the French before the 'Master" language, or else installing that language pack has somehow made French the 'Master' language. I think the master should be english that vbulletin comes with by default, so it should contain all phrases. But if someone or something has added phrases then Ozzy could be right. (Well, except that I still can't see why it wouldn't use the English if it exists in one of the other languages).

If you put your site in to debug mode (temporarily), the Master language should appear in the Language Manager. Maybe if you look at that it will provide some clues.

Here's an article on turning on debug mode if you haven't used it before: https://vborg.vbsupport.ru/showthread.php?t=265999 .
Reply With Quote
  #8  
Old 12-16-2014, 10:03 AM
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Location: USA
Posts: 707
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yea... I did fine something interesting. It seems that all the phrases have the option to be "reverted" to their original. I'd like to revert them all, without doing that manually, if possible. Do you know of a way to do that?

Welp, either that or forgetting this 'Master Language' business and using 'English' as the default.

Hey y'all, an update; Running this query solved the issue.
Code:
DELETE FROM phrase WHERE languageid = 0
highly recommend backing up your board first though - I lost my custom phrases in the process
Reply With Quote
  #9  
Old 12-16-2014, 04:10 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How did you go about uploading the style? You didn't select to upload it as the Master Style, did you? (That should only be an option if you are in debug mode.)
Reply With Quote
  #10  
Old 12-16-2014, 05:40 PM
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Location: USA
Posts: 707
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure what you mean by style. Do you mean language? I didn't upload the language while the forum was in debug mode, so I don't think that was an option. Also note that there was a mix of the languages-95% English, 5% French. It was weird...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:11 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07180 seconds
  • Memory Usage 2,281KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (4)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete