TINY-3207: grandfather tinymce 4x translations to a local zip
This commit is contained in:
@@ -13,4 +13,4 @@ tinymce.init({
|
||||
});
|
||||
```
|
||||
|
||||
You can find and download languages [here](https://www.tinymce.com/download/language-packages/).
|
||||
You can download the TinyMCE 4 language pack [here](/language/tinymce4x_languages.zip).
|
||||
|
||||
@@ -4,9 +4,9 @@ This option allows you to specify the language that TinyMCE's user interface wil
|
||||
|
||||
If you wish to use a language other than English, please follow these steps:
|
||||
|
||||
1. Download the language pack you wish to use [from here](https://www.tinymce.com/download/language-packages/).
|
||||
1. Download the language pack you wish to use [from here](/language/tinymce4x_languages.zip).
|
||||
2. Unpack the language file into your `tinymce/langs` folder.
|
||||
3. Set the [`language`]({{ site.baseurl }}/configure/localization/#language) option in your TinyMCE configuration to the language code in the list below (which you'll also find on the language pack [download page](https://www.tinymce.com/download/language-packages/).
|
||||
3. Set the [`language`]({{ site.baseurl }}/configure/localization/#language) option in your TinyMCE configuration to the language code in the list below the example.
|
||||
4. Confirm that the language has been set successfully by loading TinyMCE.
|
||||
|
||||
Please note, the language code you set in your TinyMCE configuration must match the filename of the language file. If the language file is not found, TinyMCE will not load.
|
||||
@@ -106,5 +106,3 @@ The available language codes for use with this option are as follows:
|
||||
| Vietnamese | vi |
|
||||
| Vietnamese (Viet Nam) | vi_VN |
|
||||
| Welsh | cy |
|
||||
|
||||
If a language you need is not available, you may wish to translate it yourself. To contribute to translating TinyMCE, go to our [Transifex translation](https://www.transifex.com/projects/p/tinymce/) page and sign up, then request to join a team or create a new team if your language are not listed.
|
||||
|
||||
@@ -14,11 +14,9 @@ In this section, we show you how to change TinyMCE's user interface to suit your
|
||||
|
||||
### Step 1
|
||||
|
||||
Go to our [language download page](https://www.tinymce.com/download/language-packages/) (i18n), where you'll see a list of language packs for TinyMCE 4.
|
||||
Download the [Tinymce 4 language pack](/language/tinymce4x_languages.zip) (i18n), which contains the fullset of languages supported by TinyMCE 4.
|
||||
|
||||
If you want to use one language only, click the download link on the far right of the table. However, if you want to download multiple language packs, first check the box beside each language you need and then click the download button at the bottom of the table.
|
||||
|
||||
> Important: The TinyMCE community translates the language packs provided on our language download page. We much appreciate their contribution!
|
||||
> Note: The TinyMCE 4 community translation packs are no longer maintained
|
||||
|
||||
### Step 2
|
||||
|
||||
@@ -39,7 +37,7 @@ Confirm that the language has been set successfully by loading TinyMCE.
|
||||
|
||||
We have prepared a code snippet below that would set TinyMCE's language to Chinese and text directionality right-to-left.
|
||||
|
||||
If you want to try it for yourself, [download the Chinese language](https://www.tinymce.com/download/language-packages/) pack. You'll also need a *local instance* of TinyMCE, which you can grab from our [downloads page](https://www.tinymce.com/download/). Follow the [Self-hosted install instructions]({{ site.baseurl }}/general-configuration-guide/advanced-install/#sdkinstall) if you're not familiar with setting up TinyMCE locally.
|
||||
If you want to try it for yourself, [download the TinyMCE 4 language pack](/language/tinymce4x_languages.zip), unzip the file and place the ```zh_CN.js``` file in your ```tinymce/lang``` folder. If you don't have TinyMCE setup, you can grab a copy from our [downloads page](https://www.tinymce.com/download/). Follow the [Self-hosted install instructions]({{ site.baseurl }}/general-configuration-guide/advanced-install/#sdkinstall) if you're not familiar with setting up TinyMCE locally.
|
||||
|
||||
```html
|
||||
<!DOCTYPE html>
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user