Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Glolabization altındaki resx dosyaları yardımı ile yerelleştirme yapılmaktadır. Buraya yeni bir resx veya mevcut resxlerden yararlanarak hazırlanacak arayüz ve raporlarda yerelleştirme yapılabilir.

Mevcut resxler için farklı dillerde çeviriler eklenebilir. Herhangi bir dilde bir çeviri eklendiği anda arayüzlerde görüntülenmeye başlanacaktır.

Arayüzlerde bir resx içerisindkei anahtarı kullanmak için [$resx:key] sözdizimi kullanılabilir. resx yerine dil ve uzantı belirtmeden resx dosyasnın adı, key kısmına resx içerisindeki data name yazılmalıdırLocalization is done with the help of resx files under globalization. Localization of interfaces and reports can be made here by using a new resx or existing resx.

Translations in different languages can be added for existing resxes. When a translation in any language is added, it will be displayed on the interfaces.


The syntax [$ resx: key] can be used to use the key in a resx in the interfaces. resx must be replaced with the name of the resx file without specifying a language and extension and key must be replaced with data name inside resx.


Code Block
<div>
	<label>[$default:displayname]</label> 
</div>

Ayrıca You can also use the [.dillanguage: ....; dil2language2: ...; dil3language3: ...] formatı kullanılarak koda gömülü değer kullanılabilirformat.

Code Block
<div>
	<label>[.tr:Adı;en:Name;fr:Nom]</label> 
</div>

Resx içerisinden gelen ifade script veya html attribue üzerinde kullanıma uygun olmayabilir. Bu durumda /html veya /js parametreleri ile encode işlemi uygulanması sağlanabilirThe expression from Resx may not be suitable for use on script or html attribue. In this case,  encode operation can be applied using /html or /js parameters.


Code Block
<button title="[$default:close/html]" onclicke=closeNow()>X</button>

<script>
	function closeNow() {
		alert("[$MyResx:CloseMessage/js]")
		//..
	}
</script>

...