Skip to content

Commit

Permalink
Merge remote-tracking branch 'github/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphex2 committed May 31, 2022
2 parents 1afe2f9 + 9e71f78 commit 26ff0c8
Show file tree
Hide file tree
Showing 3 changed files with 116 additions and 40 deletions.
144 changes: 109 additions & 35 deletions Documentation/Configuration/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,38 +78,112 @@ To use Google as translation-provider, enter this:
TypoScript Reference
====================

====================================== ============= ====================================================================================== =====================================
Property: Data type: Description: Default:
====================================== ============= ====================================================================================== =====================================
azure.url string there should be no need to modify this value. It's the api-host for azure https://api.cognitive.microsofttranslator.com/translate
-------------------------------------- ------------- -------------------------------------------------------------------------------------- -------------------------------------
azure.version string API-Version number for azure 3.0
-------------------------------------- ------------- -------------------------------------------------------------------------------------- -------------------------------------
azure.key string Your API-Key for Azure <empty>
-------------------------------------- ------------- -------------------------------------------------------------------------------------- -------------------------------------
azure.area string Your defined area, defined in the azure console global
-------------------------------------- ------------- -------------------------------------------------------------------------------------- -------------------------------------
azure.active int Flag, if this provider is active. Keep in mind to select not more than one provider 0
-------------------------------------- ------------- -------------------------------------------------------------------------------------- -------------------------------------
deepl.url string there should be no need to modify this value. It's the api-host for Deepl https://api-free.deepl.com/v2/translate
-------------------------------------- ------------- -------------------------------------------------------------------------------------- -------------------------------------
deepl.version string Not in use by DeepL
-------------------------------------- ------------- -------------------------------------------------------------------------------------- -------------------------------------
deepl.key string Your API-Key for DeepL <empty>
-------------------------------------- ------------- -------------------------------------------------------------------------------------- -------------------------------------
deepl.area string Not in use by DeepL
-------------------------------------- ------------- -------------------------------------------------------------------------------------- -------------------------------------
deepl.active int Flag, if this provider is active. Keep in mind to select not more than one provider 0
-------------------------------------- ------------- -------------------------------------------------------------------------------------- -------------------------------------
google.url string there should be no need to modify this value. It's the api-host for Google https://www.googleapis.com/language/translate
-------------------------------------- ------------- -------------------------------------------------------------------------------------- -------------------------------------
google.version string API-Version number for azure v2
-------------------------------------- ------------- -------------------------------------------------------------------------------------- -------------------------------------
google.key string Your API-Key for google <empty>
-------------------------------------- ------------- -------------------------------------------------------------------------------------- -------------------------------------
google.area string Not in use by google
-------------------------------------- ------------- -------------------------------------------------------------------------------------- -------------------------------------
google.active int Flag, if this provider is active. Keep in mind to select not more than one provider 0
-------------------------------------- ------------- -------------------------------------------------------------------------------------- -------------------------------------
excludedExtensions string Comma-separated list of extension keys to be excluded from being displayed datamints_locallang_builder
====================================== ============= ====================================================================================== =====================================
.. confval:: azure.url

:Datatype: string
:Default: https://api.cognitive.microsofttranslator.com/translate

There should be no need to modify this value. It's the api-host for azure.

.. confval:: azure.version

:Datatype: string
:Default: 3.0

API-Version number for azure.

.. confval:: azure.key

:Datatype: string
:Default: <empty>

Your API-Key for Azure.

.. confval:: azure.area

:Datatype: string
:Default: global

Your defined area, defined in the azure console.

.. confval:: azure.active

:Datatype: int
:Default: 0

Flag, if this provider is active. Keep in mind to select not more than one provider.

.. confval:: deepl.url

:Datatype: string
:Default: https://api-free.deepl.com/v2/translate

There should be no need to modify this value. It's the api-host for Deepl.

.. confval:: deepl.version

:Datatype: string

Not in use by DeepL

.. confval:: deepl.key

:Datatype: string
:Default: <empty>

Your API-Key for DeepL.

.. confval:: deepl.area

:Datatype: string

Not in use by DeepL

.. confval:: deepl.active

:Datatype: int
:Default: 0

Flag, if this provider is active. Keep in mind to select not more than one
provider.

.. confval:: google.url

:Datatype: string
:Default: https://www.googleapis.com/language/translate

There should be no need to modify this value. It's the api-host for Google.

.. confval:: google.version

:Datatype: string
:Default: v2

API-Version number for azure

.. confval:: google.key

:Datatype: string
:Default: <empty>

Your API-Key for Google.

.. confval:: google.area

:Datatype: string

Not in use by Google.

.. confval:: google.active

:Datatype: int
:Default: 0

Flag, if this provider is active. Keep in mind to select not more than one provider.

.. confval:: excludedExtensions

:Datatype: string
:Default: datamints_locallang_builder

Comma-separated list of extension keys to be excluded from being displayed.
8 changes: 5 additions & 3 deletions Documentation/Developer/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@
Developer Corner
================

- If you need to modify the templates or other stuff, you can initialize the git submodule in /Resources/Public/VueSources.
- If you need to modify the templates or other stuff, you can initialize the git submodule in /Resources/Public/VueSources.

- The Submodule is fetched from https://github.com/datamintsGmbH/datamints_locallang_builder_vue
- Then you have to run "npm install" to load all dependencies.
- To build the "VueGenerated" files you have to run a Node-Script, see /Resources/Public/VueSources/package.json for possible script-names, e.g. "npm run watchProd"

- Then you have to run "npm install" to load all dependencies.
- To build the "VueGenerated" files you have to run a Node-Script, see /Resources/Public/VueSources/package.json for possible script-names, e.g. "npm run watchProd"

Please be aware: See "datamints_locallang_builder/LICENSE.txt" before copying or using the 3rd party libraries included in this submodule. Some of them are licenced only for this purpose.

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ A TYPO3 extension for adding, modifying and auto-translating content of extensio
Links:

- [TER](https://typo3.org/extensions/repository/view/datamints_locallang_builder)
- [Documentation](https://docs.typo3.org/p/datamints/locallang_builder/master/en-us/)
- [Documentation](https://docs.typo3.org/p/datamints/locallang_builder/main/en-us/)
- [Contact](mailto:[email protected])

Features:
Expand All @@ -22,7 +22,7 @@ Features:
Usage and installation:
---------

- See documentation: https://github.com/datamintsGmbH/datamints_locallang_builder/tree/master/Documentation
- See documentation: https://docs.typo3.org/p/datamints/locallang_builder/main/en-us/

Screenshots
---------
Expand Down

0 comments on commit 26ff0c8

Please sign in to comment.