background
|
|
bonsai
The Element
A small area for Bonsai related material.
More icon

News
All in one Place
All of your regular news in one place.
More icon
|
|
Up Image
Navigation
Search this Site
Enter your search terms

Site Breadcrumb - You are here
|
Reference   JavaScript Code Library

Translating XSSI content
In order to design pages that will be generated with XSSI, you need to be able to see what the pages will look like once they are on a server. To facilitate this, you can translate the XSSI directives on your page by choosing "Modify>Translate>XSSI" from the menu bar. As soon as you choose this command, all XSSI directives on your page will be translated. This means that, while you will still see the original directives in the HTML inspector, directives in the Document window will look as if you were viewing the page on an XSSI-capable Web server. For example, all echo directives will be replaced with the value of the variable they are echoing.

Note: You can also press the "Translate" button in any of the XSSI Property Inspectors. This is equivalent to choosing "Modify>Translate>XSSI" from the menu bar.

Untranslating XSSI content
You can untranslate your page by choosing the "Untranslate" command from the "Commands" menu. All translated directives will be replaced with icons to show you that there are invisible elements on your page.

Automatic translation
If you don't want to have to manually translate your page every time you add or modify a directive, you can turn on automatic translation by setting your Translation preferences (select the "Edit>Preferences" command and choose "Translation"). You can set automatic translation in all files, in no files, in files with certain extensions, or only in files with XSSI directives in them.

For more information about XSSI in general, take a look at our Introduction to XSSI.



Other Links Films Blog Site Log Site Map