# How to use the Click-to-globalize "self.globalize?"-function

**URL:** <https://www.ruby-forum.com/t/how-to-use-the-click-to-globalize-self-globalize-function/131511>\
**Category:** Rails\
**Created:** [March 10, 2008, 9:20pm UTC](https://www.ruby-forum.com/t/how-to-use-the-click-to-globalize-self-globalize-function/131511 "2008-03-10T21:20:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![emuen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/96bed5/32.png) [@emuen](https://www.ruby-forum.com/u/emuen)\
**Post date:** [March 10, 2008, 9:20pm UTC](https://www.ruby-forum.com/t/how-to-use-the-click-to-globalize-self-globalize-function/131511/1 "2008-03-10T21:20:54Z")

</div>

Hey guys.

I need to use the self.globalize? function to allow certain users to  
tranlate text.

I can’t make the self.globalize?-function access the session variable.  
Is there a way to acces this in this specific function?

- Emil
