Update screenshots
@@ -46,22 +46,22 @@ In the previous section we have commented that once subscribed to the translatio
|
|||||||
Once we have the new key in the `secrets.yml` we can now proceed to activate the module. To activate the functionality you must follow 2 steps:
|
Once we have the new key in the `secrets.yml` we can now proceed to activate the module. To activate the functionality you must follow 2 steps:
|
||||||
1. Execute the following command `bin/rake settings:create_remote_translations_setting RAILS_ENV=production`
|
1. Execute the following command `bin/rake settings:create_remote_translations_setting RAILS_ENV=production`
|
||||||
1. Accessing through the administration panel of your application to the section **Configuración > Funcionalidades** and activate module **Traducciones Remotas** as shown below:
|
1. Accessing through the administration panel of your application to the section **Configuración > Funcionalidades** and activate module **Traducciones Remotas** as shown below:
|
||||||

|

|
||||||
|
|
||||||
#### Use Cases
|
#### Use Cases
|
||||||
Once we have the api key in our `secrets.yml` and the activated module, users will already be able to use the functionality.
|
Once we have the api key in our `secrets.yml` and the activated module, users will already be able to use the functionality.
|
||||||
We attach some screenshots of how the application interacts with our users:
|
We attach some screenshots of how the application interacts with our users:
|
||||||
* When a user visits a page in a language without translated content, an informative text will appear at the top of the page and a button to request the translation. (**Note:** *If user visit page with a language not supported by the translation service, no text or translation button will be displayed. See section: Available languages for remote translation*)
|
* When a user visits a page in a language without translated content, an informative text will appear at the top of the page and a button to request the translation. (**Note:** *If user visit page with a language not supported by the translation service, no text or translation button will be displayed. See section: Available languages for remote translation*)
|
||||||

|

|
||||||
|
|
||||||
* Once the user click the `Translate page` button, the translations are enqueued and the page is reloaded with a notice (*Informing that the translations have been requested correctly*) and an informative text in the header (*explaining when you will be able to see these translations*).
|
* Once the user click the `Translate page` button, the translations are enqueued and the page is reloaded with a notice (*Informing that the translations have been requested correctly*) and an informative text in the header (*explaining when you will be able to see these translations*).
|
||||||

|

|
||||||
|
|
||||||
* If an user visit a page that does not have translations but have already been requested by another user. The application will not show you the translate button, but an informative text in the header (*explaining when you will be able to see these translations*).
|
* If an user visit a page that does not have translations but have already been requested by another user. The application will not show you the translate button, but an informative text in the header (*explaining when you will be able to see these translations*).
|
||||||

|

|
||||||
|
|
||||||
* The translation request, response processing and data saving are delegated to `Delayed Jobs` and as soon as they are processed, the user will be able to read them after page refresh.
|
* The translation request, response processing and data saving are delegated to `Delayed Jobs` and as soon as they are processed, the user will be able to read them after page refresh.
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
#### Available languages for remote translation
|
#### Available languages for remote translation
|
||||||
|
|||||||
|
After Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 82 KiB |
|
After Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 78 KiB |
|
After Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 78 KiB |
|
After Width: | Height: | Size: 68 KiB |