Skip to content

Commit

Permalink
Merge pull request #666 from SmallMistake/Localization
Browse files Browse the repository at this point in the history
Localization Issue #486
  • Loading branch information
david-poindexter authored Aug 27, 2022
2 parents 731979b + 98c77c8 commit 681f187
Show file tree
Hide file tree
Showing 9 changed files with 58 additions and 0 deletions.
3 changes: 3 additions & 0 deletions content/features/content-management/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ Following is an list of content management features within **DNN Platform**.
## [Sites](xref:sites)
Learn the features of sites within **DNN Platform**.

## [Localization](xref:localization)
Learn about localization within **DNN Platform**.

## [Recycle Bin](xref:recycle-bin)
The Recycle Bin is the temporary stop of content that is deleted from a DNN Site.

Expand Down
54 changes: 54 additions & 0 deletions content/features/content-management/localization/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
uid: localization
locale: en
title: About Localization
dnnversion: 09.02.00
---

# About Localization

DNN comes with a built in framework for localizing your content, The overall process involves you designating a default language and then adding additional languages. For each additional language you can perform translation tasks like creating new resources and marking pages for translation.

### Setting Up Your Site for Localization

Step 1: Add a Language of Your Choosing
* You can access the add language dialog under `Settings` - `Site Settings` - `Languages`. Click the `+ Add New Language` button.

![Step1-add-language](/images/Step1-add-language.jpg)

Step 2: Verify the New Language is Enabled
* This is marked with a check mark. If not, use the cog icon to enable the language.

![Step2-enable-language](/images/Step2-enable-language.jpg)

Step 3: Enable Content Localization
* It is recommended to flip the radio button `Make All Pages Translatable` on because this will make unique copies of each page that represent the translation of that page.

> [!Warning]
> The default language can not be changed afterwards.
![Step3-enable-content-localization](/images/Step3-enable-content-localization.jpg)


* You can now visit your pages and start localizing content. As an admin, you'll find the language switcher most of the time (depending on the theme) at the right top of your screen.

Step 4: Translate a Page
* Now that you have translatable versions of each page, a new `Localization` tab has been added under `Content` - `Pages` for each page.
* Once you have finished translating the page via the language specific version, mark your translated page as 'translated' and give it a go (if you desire) to be published.


![Step4-localize-content](/images/Step4-localize-content.jpg)

Step 5: Activate Your Language
* The last step is to activate your language. Go to `Settings` - `Site Settings` - `Languages` and click the icon that stands for multi language.


![Step5a-activate-content](/images/Step5a-activate-content.jpg)

* In the new window, flip the `Activate Pages In This Language` on to activate your pages.

![Step5b-activate-content](/images/Step5b-activate-content.jpg)

* This last step allows you as a content manager to prepare all the work for a new language and publish after everyone involved has approved.

If this still does not show your translated content, verify if you are using a module that needs language activation as well.
1 change: 1 addition & 0 deletions content/features/toc.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# [Content Management](xref:content-management)
## [Sites](xref:sites)
### [Import/Export](xref:import-export)
## [Localization](xref:localization)
## [Recycle Bin](xref:recycle-bin)
# [Extensibility](xref:extensibility)
## [Event System](xref:event-system)
Expand Down
Binary file added images/Step1-add-language.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Step2-enable-language.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Step3-enable-content-localization.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Step4-localize-content.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Step5a-activate-content.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Step5b-activate-content.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 681f187

Please sign in to comment.