mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-19 07:56:38 +02:00
Merge pull request #46 from simonwelsh/patch-1
MINOR: removed references to Language Chooser which is only supported in 2.2.
This commit is contained in:
commit
d42c115594
@ -267,7 +267,6 @@ in the database.
|
|||||||
|
|
||||||
### Switching languages
|
### Switching languages
|
||||||
|
|
||||||
A widget now exists to switch between languages, and is [available here](http://www.silverstripe.org/Language-Chooser-Widget/).
|
|
||||||
You can easily make your own switchers with the following basic tools. To stay friendly to caches and search engines, each
|
You can easily make your own switchers with the following basic tools. To stay friendly to caches and search engines, each
|
||||||
translation of a page must have a unique URL.
|
translation of a page must have a unique URL.
|
||||||
|
|
||||||
@ -348,12 +347,6 @@ Example:
|
|||||||
<% end_control %>
|
<% end_control %>
|
||||||
|
|
||||||
|
|
||||||
### Language Chooser Widget
|
|
||||||
|
|
||||||
You can use a widget on your website to provide a list of links for switching languages:
|
|
||||||
[download](http://silverstripe.org/Language-Chooser-Widget-2/)
|
|
||||||
|
|
||||||
|
|
||||||
### Enabling the _t() function in templates
|
### Enabling the _t() function in templates
|
||||||
|
|
||||||
If you're looking to use [the _t() function](http://doc.silverstripe.com/doku.php?id=i18n#the_t_function) in template
|
If you're looking to use [the _t() function](http://doc.silverstripe.com/doku.php?id=i18n#the_t_function) in template
|
||||||
|
Loading…
Reference in New Issue
Block a user