# What is equivalent to context.renderLanguage from hooks in actions

**URL:** <https://community.auth0.com/t/what-is-equivalent-to-context-renderlanguage-from-hooks-in-actions/124481>\
**Category:** Get Help\
**Tags:** actions-management-api, management-api\
**Created:** [January 9, 2024, 2:40pm UTC](https://community.auth0.com/t/what-is-equivalent-to-context-renderlanguage-from-hooks-in-actions/124481 "2024-01-09T14:40:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![malith.kuruppu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/malith.kuruppu/32/57352_2.png) [@malith.kuruppu](https://community.auth0.com/u/malith.kuruppu)\
**Post date:** [January 9, 2024, 2:40pm UTC](https://community.auth0.com/t/what-is-equivalent-to-context-renderlanguage-from-hooks-in-actions/124481/1 "2024-01-09T14:40:53Z")

</div>

One of the context parameters available in the pre-registration hook is `context.renderlanguage` which describes as the `language used by signup flow`. How do get I this value in the new actions api?

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [January 9, 2024, 6:18pm UTC](https://community.auth0.com/t/what-is-equivalent-to-context-renderlanguage-from-hooks-in-actions/124481/3 "2024-01-09T18:18:28Z")

</div>

Hi @malith.kuruppu,

Welcome to the Auth0 Community!

The corresponding property for `context.renderlanguage` in a Pre-User Registration Action is `event.request.language`.

> `event.request`
> 
> - `language` _Optional string_. The language requested by the browser.

(Reference: [Actions Triggers: pre-user-registration - Event Object](https://auth0.com/docs/customize/actions/flows-and-triggers/pre-user-registration-flow/event-object#:~:text=address%20of%20request.-,language,-Optional%20string.))

Please let me know if you have any further questions.

Cheers,  
Rueben

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [January 23, 2024, 6:19pm UTC](https://community.auth0.com/t/what-is-equivalent-to-context-renderlanguage-from-hooks-in-actions/124481/4 "2024-01-23T18:19:24Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
