Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Results 1 to 9 of 9

Thread: SOURCE First

  1. #1
    Junior Member
    Join Date
    Nov 2010
    Posts
    4

    Default SOURCE First

    Text automatically translated from: German to: English
    Translated text
    Hello,
    I can leave the original text will appear first? and the translation should be opened only when needed.

    Thank you
    Original text

  2. #2
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    now messages are translated but you can leave the original version of message under the translated version (in javascript)

  3. #3
    Junior Member
    Join Date
    Nov 2010
    Posts
    4

    Default

    Text automatically translated from: German to: English
    Translated text
    Yes I know. But I can adjust it to the original one is closed?
    Original text

  4. #4
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    Quote Originally Posted by Guni View Post
    Text automatically translated from: German to: English
    Translated text
    Yes I know. But I can adjust it to the original one is closed?
    Original text
    I don't understand it. Can you explain it better?

  5. #5
    Banned
    Join Date
    Nov 2010
    Posts
    95

    Default

    I understand, what you mean
    You want to have original test be seen all the time and that translated, to the user's default language, only on demand - the reversed situation to that current
    Unfortunatelly, there's only a half of solution for your question at the moment:

    There are two options...
    AdminCP -> VBET -> Misc -> Show original text for guest / Show original text for user
    ...and you can select 'Normal', so the original text is shown all the time with that translated one. Anyway, it's not a seo-friendly solution, because robots will see both original and translated message.
    Last edited by mateuszr; 23-11-10 at 15:52.

  6. #6
    Banned
    Join Date
    Nov 2010
    Posts
    95

    Default

    Thread moved to Troubleshooting section

  7. #7
    Banned
    Join Date
    Nov 2010
    Posts
    95

    Default

    Here are steps for full solution of your request:

    1. Go to 'AdminCP' of your forum
    2. Select 'Styles&Templates' from the list on your left
    3. In 'Style Manager' choose your default style and from the dropdown list choose 'Edit templates'
    4. You'll see a long list of templates - look for the one called 'vbenterprisetranslator_inpost_translate' and double-click on it
    5. Replace all phrases 'translated' with 'toTranslated', and change order of flags. The final code should look as follows:

    HTML Code:
    <fieldset>
    	<legend>
    		<img class="vbet-flag vbet-{vb:raw toLang}" width="16" height="11" src="http://www.vbenterprisetranslator.com/forum/images/vbet/flags/clear.gif" border="0"/>
    		<img src="http://www.vbenterprisetranslator.com/forum/images/vbet/{vb:stylevar right}_arrow.gif" alt="{vb:rawphrase vbenterprisetranslator_inpost_translate_header, {vb:raw fromLangText}, {vb:raw toLangText}}" border="0"/>
    		<img class="vbet-flag vbet-{vb:raw fromLang}" width="16" height="11" src="http://www.vbenterprisetranslator.com/forum/images/vbet/flags/clear.gif" border="0"/>
    	</legend>
    		
    	<vb:if condition="$showOriginal">
    		<div class="smallfont" style="margin-bottom:2px">
    			<img class="vbet-flag vbet-{vb:raw fromLang}" width="16" height="11" src="http://www.vbenterprisetranslator.com/forum/images/vbet/flags/clear.gif" alt="{vb:rawphrase vbenterprisetranslator_inpost_translate_original}" border="0"/>
    		</div>
    	</vb:if>	
    		<div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset; text-align: {vb:raw alignTranslated}; overflow: auto">
    			<!--vBET_SNTA--><!--vBET_NRE-->{vb:raw toTranslate}<!--vBET_ENTA-->
    		</div>			
    	
    	<vb:if condition="$showOriginal">
    		<div class="collapse">
    			<div style="margin-bottom:2px">
    				<img class="vbet-flag vbet-{vb:raw toLang}" width="16" height="11" src="http://www.vbenterprisetranslator.com/forum/images/vbet/flags/clear.gif" alt="{vb:rawphrase vbenterprisetranslator_inpost_translate_translated}" border="0"/>
    				<a href="#top" class="collapse" style="position: static; float: none;" id="collapse_cel_{vb:raw id}"><img id="cel_{vb:raw id}_img" src="http://www.vbenterprisetranslator.com/forum/images/buttons/collapse_40b_collapsed.png" alt="" border="0"/></a>
    			</div>
    			<vb:if condition="$showOriginal == 1">
    				<div id="cel_{vb:raw id}" class="alt2" style="margin: 0px; padding: 6px; border: 1px inset; text-align: {vb:raw alignOriginal}; overflow: auto; display: none">
    				</div>
    				<script type="text/javascript">
    					<!--
    					document.getElementById("cel_{vb:raw id}").innerHTML = '{vb:raw translated}';
    					// -->
    				</script>
    			<vb:else />
    				<div id="cel_{vb:raw id}" class="alt2" style="margin: 0px; padding: 6px; border: 1px inset; text-align: {vb:raw alignOriginal}; overflow: auto; display: none">
    					<!--vBET_SNTA-->{vb:raw translated}<!--vBET_ENTA-->
    				</div>
    			</vb:if>
    		</div>
    	</vb:if>
    </fieldset>
    Last edited by mateuszr; 30-11-10 at 09:17.

  8. #8
    Junior Member
    Join Date
    Nov 2010
    Posts
    4

    Default

    Text automatically translated from: German to: English
    Translated text
    Thank you for your help.

    That's what I mean.
    Original text

  9. #9
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    Thank you for confirmation

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •