Is there any way to call one class's ArrayList onto another class? In class A ArrayList is there, I need to use that ArrayList in class B, Class A is having `AsyncTask` in that I have the Arraylist so I need that in side AsynTask's Arraylist in another class.

In class A:

```
public Class A{
   public class HomeTask extends AsyncTask<Void,Void,Bundle>  { 
      onPreexecute(){}
      doInbackground(){}
      postexecute(){}

      Arraylist joblist(); //------------ My data is here;
   }
}

```

second class:

```
Class B
{
  // I need to use that arraylist here
}

```
['https://Stackoverflow.com/questions/7486389', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/954839/']
If you set the language in a view, the error messages will be printed in the selected language:

```
    from django.utils.translation import activate
    activate('de')

```
if you use \_ in your form messages the message will be displayed in the right lang! but if you want to check which lang is running in the template you can use:

```
{% if LANGUAGE_CODE != "ch" %}

{% endif %}

```

for more info about using \_ in your form, check this out: <https://docs.djangoproject.com/en/1.3/ref/forms/validation/#form-subclasses-and-modifying-field-errors>