Skip to content

Commit

Permalink
Merge pull request #715 from DNNCommunity/text-theme-object
Browse files Browse the repository at this point in the history
Correct a few formatting issues and typo in `TEXT` theme object doc
  • Loading branch information
valadas authored Apr 22, 2024
2 parents a657d3f + 2fff579 commit a5c2bc7
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions content/tutorials/themes/theme-objects/text/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,20 @@ links:
---

# TEXT Theme Object Introduction

Displays Localized text in your theme / skin, also supports the use of DNN Core Token replacement.

The text will be loaded from a resource file (*.resx), you need a separate resx file per language.
Displays localized text in your theme/skin, and supports DNN Core Token replacement.

These should be located in a folder named "App_LocalResources" (in the Theme folder).
The text will be loaded from a resource file (`*.resx`), you need a separate RESX file per language.

These should be located in a folder named `App_LocalResources` (in the theme/skin folder).


## Naming convention:

When your skin file = index.ascx:
Default language: index.ascx.resx
French: index.ascx.fr-FR.resx
German: index.ascx.de-DE.resx


When your skin file is `index.ascx`:
* `index.ascx.resx` (Default Language)
* `index.ascx.fr-FR.resx` (French)
* `index.ascx.de-DE.resx` (German)


## Resource file content:

Expand Down

0 comments on commit a5c2bc7

Please sign in to comment.