mirror of
https://github.com/silverstripe/silverstripe-translatable
synced 2024-10-22 11:05:59 +02:00
Merge branch '2.4' into 2
This commit is contained in:
commit
ed155503d2
14
.github/workflows/main.yml
vendored
Normal file
14
.github/workflows/main.yml
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
name: Build Docs
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- '2.1'
|
||||||
|
paths:
|
||||||
|
- 'docs/en/userguide/**'
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: build-docs
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Run build hook
|
||||||
|
run: curl -X POST -d {} https://api.netlify.com/build_hooks/${{ secrets.NETLIFY_BUILD_HOOK }}
|
@ -1,39 +1,39 @@
|
|||||||
{
|
{
|
||||||
"name": "silverstripe/translatable",
|
"name": "silverstripe/translatable",
|
||||||
"type": "silverstripe-module",
|
"type": "silverstripe-module",
|
||||||
"description": "Allows translation of DataObject and SiteTree records into multiple languages ",
|
"description": "Allows translation of DataObject and SiteTree records into multiple languages ",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"silverstripe",
|
"silverstripe",
|
||||||
"cms",
|
"cms",
|
||||||
"i18n",
|
"i18n",
|
||||||
"localization",
|
"localization",
|
||||||
"globalization"
|
"globalization"
|
||||||
],
|
],
|
||||||
"license": "BSD-3-Clause",
|
"license": "BSD-3-Clause",
|
||||||
"homepage": "https://github.com/silverstripe/silverstripe-translatable/",
|
"homepage": "https://github.com/silverstripe/silverstripe-translatable/",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Ingo Schommer",
|
"name": "Ingo Schommer",
|
||||||
"homepage": "http://chillu.com",
|
"homepage": "http://chillu.com",
|
||||||
"email": "ingo@silverstripe.com"
|
"email": "ingo@silverstripe.com"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.2",
|
"php": ">=5.3.2",
|
||||||
"silverstripe/framework": "~3.2",
|
"silverstripe/framework": "~3.2",
|
||||||
"silverstripe/cms": "~3.2"
|
"silverstripe/cms": "~3.2"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^5.7",
|
"phpunit/phpunit": "^5.7",
|
||||||
"squizlabs/php_codesniffer": "^3.0"
|
"squizlabs/php_codesniffer": "^3.0"
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
"screenshots": [
|
"screenshots": [
|
||||||
"http://www.silverstripe.org/assets/Uploads/translatable4-small.png"
|
"http://www.silverstripe.org/assets/Uploads/translatable4-small.png"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/silverstripe/silverstripe-translatable/issues?state=open"
|
"issues": "https://github.com/silverstripe/silverstripe-translatable/issues?state=open"
|
||||||
},
|
},
|
||||||
"minimum-stability": "dev"
|
"minimum-stability": "dev"
|
||||||
}
|
}
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
The SilverStripe Translatable module allows you to create and edit multiple pages in various languages. This module also adds the ability for your users to select which language of a page they wish to view.
|
The SilverStripe Translatable module allows you to create and edit multiple pages in various languages. This module also adds the ability for your users to select which language of a page they wish to view.
|
||||||
|
|
||||||
<div class="note" markdown="1">
|
[note]
|
||||||
Notes:
|
Notes:
|
||||||
|
|
||||||
The SilverStripe Translatable module does not translate content automatically, content authors will need to enter the translated content manually for each translated page.
|
The SilverStripe Translatable module does not translate content automatically, content authors will need to enter the translated content manually for each translated page.
|
||||||
</div>
|
[/note]
|
||||||
|
|
||||||
To begin translating content select a page in your site tree from the "Pages" admin. You can see in the below image:
|
To begin translating content select a page in your site tree from the "Pages" admin. You can see in the below image:
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
---
|
||||||
title: Working with translations
|
title: Working with translations
|
||||||
summary: Adding translated content to your website.
|
summary: Adding translated content to your website.
|
||||||
|
---
|
||||||
|
|
||||||
# Working with translations
|
# Working with translations
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user