<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/DgsDetachFromTranslation?action=history&amp;feed=atom</id>
	<title>DgsDetachFromTranslation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/DgsDetachFromTranslation?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsDetachFromTranslation&amp;action=history"/>
	<updated>2026-05-14T19:17:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsDetachFromTranslation&amp;diff=58927&amp;oldid=prev</id>
		<title>Thisdp: Created page with &quot;{{Client function}} __NOTOC__ This function detaches dgs element from translation table.  ==Syntax==  &lt;syntaxhighlight lang=&quot;lua&quot;&gt; bool dgsDetachFromTranslation ( element dgsE...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsDetachFromTranslation&amp;diff=58927&amp;oldid=prev"/>
		<updated>2018-09-07T05:01:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Client function}} __NOTOC__ This function detaches dgs element from translation table.  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool dgsDetachFromTranslation ( element dgsE...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function detaches dgs element from translation table.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool dgsDetachFromTranslation ( element dgsElement )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''dgsElement:''' The dgs element you want to detach.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a string if succeed, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs&lt;br /&gt;
TranslationTable = {&lt;br /&gt;
	Test=&amp;quot;Text %rep% %rep%&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
DGS:dgsSetTranslationTable(&amp;quot;EN&amp;quot;,TranslationTable)&lt;br /&gt;
local button = DGS:dgsCreateButton(200,200,200,100,&amp;quot;Login&amp;quot;,false)&lt;br /&gt;
DGS:dgsAttachToTranslation(button,&amp;quot;EN&amp;quot;)  --Attach&lt;br /&gt;
DGS:dgsSetText(button,{&amp;quot;Test&amp;quot;,&amp;quot;Test&amp;quot;,&amp;quot;DGS&amp;quot;})  --Change text with table to use translation table&lt;br /&gt;
DGS:dgsDetachToTranslation(button) --Detach&lt;br /&gt;
&lt;br /&gt;
setTimer(function()&lt;br /&gt;
	TranslationTable2 = {&lt;br /&gt;
		Test=&amp;quot;L %rep% O %rep% L&amp;quot;&lt;br /&gt;
	}&lt;br /&gt;
	DGS:dgsSetTranslationTable(&amp;quot;EN&amp;quot;,TranslationTable2) --Change Translation Table and nothing happen&lt;br /&gt;
end,1000,1)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{DGSFUNCTIONS}}&lt;/div&gt;</summary>
		<author><name>Thisdp</name></author>
	</entry>
</feed>