TranslationController :: translate
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
| Key | Value |
|---|---|
| _access_control_attributes | [
"PUBLIC_ACCESS"
] |
| _controller | "App\Controller\TranslationController::translate" |
| _firewall_context | "security.firewall.map.context.main" |
| _route | "app_translate" |
| _route_params | [] |
| _security_authenticators | [] |
| _security_skipped_authenticators | [ Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#537 -supports: false -passport: null -duration: null -stub: "Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator" -authenticated: null -exception: null -authenticator: Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator {#480 …} } ] |
| _stopwatch_token | "4bfeb6" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, deflate, br" |
| accept-language | "fr-fr, en-US,en;q=0.90" |
| content-length | "1599" |
| content-type | "application/json" |
| cookie | "main_deauth_profile_token=c0ea94" |
| host | "psychofact.fr" |
| origin | "https://psychofact.fr" |
| referer | "https://psychofact.fr/scientia/article/4976" |
| sec-fetch-dest | "empty" |
| sec-fetch-mode | "cors" |
| sec-fetch-site | "same-origin" |
| user-agent | "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Safari/605.1.15 (Applebot/0.1; +http://www.apple.com/go/applebot)" |
| x-forwarded-proto | "https" |
| x-php-ob-level | "1" |
Request Content
Pretty
{
"texts": [
"Exploring the meaning of life (MoL) after acquired brain injury (ABI) in Costa Rica.",
"PRIMARY OBJECTIVE: This study aimed to explore the process of MoL-Resignification following ABI in a Costa Rican sample.RESEARCH DESIGN: A cross-sectional, exploratory mixed-method approach.METHODS AND PROCEDURES: Qualitative narratives about the MoL-Resignification were collected and supported with quantitative data using instruments like the Mental and Physical Health Adapted Scale (MPHAS), Brief Resilient Coping Scale (BRCS), UCLA Loneliness Scale Revised (UCLALS-R), and New Me Scale (NMS).MAIN OUTCOMES: Four dimensions of MoL-Resignification after ABI were identified: Individual, Social, Global, and Spiritual. Narratives regarding the Individual MoL ranged from coping with the limitations imposed by ABI to adopting new values and senses of identity. Social MoL emphasized the importance of family support, while Global MoL centred on adopting a present-focused perspective. The Spiritual MoL highlighted the role of faith and religious beliefs in helping individuals navigate their lives after ABI. Resignification processes were associated with greater life satisfaction post-ABI (NMS), lower psychological and physical burdens (MPHAS), reduced loneliness (UCLALS-R), and more effective coping strategies (BRCS).CONCLUSIONS: MoL-Resignification and Identity change after ABI, demonstrates the importance of family and spiritual beliefs in coping within the context of Costa Rican culture. These factors should be addressed in future research and rehabilitation efforts."
],
"target": "FR"
}
Raw
{"texts":["Exploring the meaning of life (MoL) after acquired brain injury (ABI) in Costa Rica.","PRIMARY OBJECTIVE: This study aimed to explore the process of MoL-Resignification following ABI in a Costa Rican sample.RESEARCH DESIGN: A cross-sectional, exploratory mixed-method approach.METHODS AND PROCEDURES: Qualitative narratives about the MoL-Resignification were collected and supported with quantitative data using instruments like the Mental and Physical Health Adapted Scale (MPHAS), Brief Resilient Coping Scale (BRCS), UCLA Loneliness Scale Revised (UCLALS-R), and New Me Scale (NMS).MAIN OUTCOMES: Four dimensions of MoL-Resignification after ABI were identified: Individual, Social, Global, and Spiritual. Narratives regarding the Individual MoL ranged from coping with the limitations imposed by ABI to adopting new values and senses of identity. Social MoL emphasized the importance of family support, while Global MoL centred on adopting a present-focused perspective. The Spiritual MoL highlighted the role of faith and religious beliefs in helping individuals navigate their lives after ABI. Resignification processes were associated with greater life satisfaction post-ABI (NMS), lower psychological and physical burdens (MPHAS), reduced loneliness (UCLALS-R), and more effective coping strategies (BRCS).CONCLUSIONS: MoL-Resignification and Identity change after ABI, demonstrates the importance of family and spiritual beliefs in coping within the context of Costa Rican culture. These factors should be addressed in future research and rehabilitation efforts."],"target":"FR"}
Response
Response Headers
| Header | Value |
|---|---|
| cache-control | "no-cache, private" |
| content-type | "application/json" |
| date | "Mon, 30 Nov 2026 17:44:42 GMT" |
| x-debug-token | "bf46c9" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| main_deauth_profile_token | "c0ea94" |
Response Cookies
No response cookies
Session
Session Metadata
No session metadata
Session Attributes
No session attributes
Session Usage
0
Usages
Stateless check enabled
Session not used.
Flashes
Flashes
No flash messages were created.
Server Parameters
Server Parameters
Defined in .env
| Key | Value |
|---|---|
| APP_ENV | "dev" |
| APP_SECRET | "" |
| APP_SHARE_DIR | "var/share" |
| CRON_SECRET | "72c89ba249ac883794a1dc77e5c275d0591eac1eff7f26bf83d53f1ca0507d2c" |
| DATABASE_URL | "mysql://1i4tgg_claudia:CLaudia@2833f8001@1i4tgg.myd.infomaniak.com:3306/1i4tgg_SCIENTIA_credolab?serverVersion=mariadb-10.6.20&charset=utf8mb4" |
| DEEPL_API_KEY | "d1e89e57-c0b5-42df-bbe4-c71dfa4e14b9:fx" |
| DEFAULT_URI | "http://localhost" |
| MAILER_DSN | "null://null" |
| MESSENGER_TRANSPORT_DSN | "doctrine://default?auto_setup=0" |
| MYMEMORY_EMAIL | "claudia@adfi.alsace" |
| SITE_CONFIG_ENABLED | "true" |
Defined as regular env variables
| Key | Value |
|---|---|
| APP_DEBUG | "1" |
| APP_PROJECT_DIR | "/home/clients/3789c70e8ca3ec48721a9fda9a819104/sites/psychofact.fr/app" |
| APP_RUNTIME | "Symfony\Component\Runtime\SymfonyRuntime" |
| APP_RUNTIME_OPTIONS | [ "project_dir" => "/home/clients/3789c70e8ca3ec48721a9fda9a819104/sites/psychofact.fr/app" ] |
| CONTENT_LENGTH | "1599" |
| CONTENT_TYPE | "application/json" |
| CONTEXT_DOCUMENT_ROOT | "/home/clients/3789c70e8ca3ec48721a9fda9a819104/sites/psychofact.fr/app/public" |
| CONTEXT_PREFIX | "" |
| DOCUMENT_ROOT | "/home/clients/3789c70e8ca3ec48721a9fda9a819104/sites/psychofact.fr/app/public" |
| FCGI_ROLE | "RESPONDER" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| HOME | "/home/clients/3789c70e8ca3ec48721a9fda9a819104" |
| HTTPS | "on" |
| HTTP_ACCEPT | "*/*" |
| HTTP_ACCEPT_ENCODING | "gzip, deflate, br" |
| HTTP_ACCEPT_LANGUAGE | "fr-fr, en-US,en;q=0.90" |
| HTTP_COOKIE | "main_deauth_profile_token=c0ea94" |
| HTTP_HOST | "psychofact.fr" |
| HTTP_ORIGIN | "https://psychofact.fr" |
| HTTP_REFERER | "https://psychofact.fr/scientia/article/4976" |
| HTTP_SEC_FETCH_DEST | "empty" |
| HTTP_SEC_FETCH_MODE | "cors" |
| HTTP_SEC_FETCH_SITE | "same-origin" |
| HTTP_USER_AGENT | "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Safari/605.1.15 (Applebot/0.1; +http://www.apple.com/go/applebot)" |
| HTTP_X_FORWARDED_PROTO | "https" |
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
| PHP_SELF | "/index.php" |
| PHP_VERSION | "8.4" |
| QUERY_STRING | "" |
| REDIRECT_HTTPS | "on" |
| REDIRECT_PHP_VERSION | "8.4" |
| REDIRECT_SCRIPT_URI | "https://psychofact.fr/api/translate" |
| REDIRECT_SCRIPT_URL | "/api/translate" |
| REDIRECT_SSL_TLS_SNI | "psychofact.fr" |
| REDIRECT_STATUS | "200" |
| REDIRECT_UNIQUE_ID | "aw22CsbwdNrE9vatVBDF1wAABME" |
| REDIRECT_URL | "/api/translate" |
| REMOTE_ADDR | "17.166.233.246" |
| REMOTE_PORT | "52956" |
| REQUEST_METHOD | "POST" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1796060682 |
| REQUEST_TIME_FLOAT | 1796060682.1769 |
| REQUEST_URI | "/api/translate" |
| SCRIPT_FILENAME | "/home/clients/3789c70e8ca3ec48721a9fda9a819104/sites/psychofact.fr/app/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://psychofact.fr/api/translate" |
| SCRIPT_URL | "/api/translate" |
| SERVER_ADDR | "127.0.0.80" |
| SERVER_ADMIN | "webmaster@psychofact.fr" |
| SERVER_NAME | "psychofact.fr" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/1.1" |
| SERVER_SIGNATURE | "" |
| SERVER_SOFTWARE | "Apache" |
| SSL_TLS_SNI | "psychofact.fr" |
| SYMFONY_DOTENV_PATH | "/home/clients/3789c70e8ca3ec48721a9fda9a819104/sites/psychofact.fr/app/.env" |
| SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,APP_SHARE_DIR,SITE_CONFIG_ENABLED,CRON_SECRET,DEFAULT_URI,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN,MYMEMORY_EMAIL,DEEPL_API_KEY" |
| TEMP | "/home/clients/3789c70e8ca3ec48721a9fda9a819104/tmp" |
| TMP | "/home/clients/3789c70e8ca3ec48721a9fda9a819104/tmp" |
| TMPDIR | "/home/clients/3789c70e8ca3ec48721a9fda9a819104/tmp" |
| UNIQUE_ID | "aw22CsbwdNrE9vatVBDF1wAABME" |
| USER | "uid380929" |