<!-- ##### SECTION Title ##### -->
TranslateSession

<!-- ##### SECTION Short_Description ##### -->
session object

<!-- ##### SECTION Long_Description ##### -->
<para>
A #TranslateSession object is used to translate a text or web page
using a set of translation services. After creating a new session with
translate_session_new(), you can translate a text or web page using
translate_session_translate_text() or
translate_session_translate_web_page().
</para>

<!-- ##### SECTION See_Also ##### -->
<para>

</para>

<!-- ##### STRUCT TranslateSession ##### -->
<para>
The #TranslateSession struct contains private data only, and should be
accessed using the functions below.
</para>


<!-- ##### ARG TranslateSession:max-retries ##### -->
<para>

</para>

<!-- ##### ARG TranslateSession:max-threads ##### -->
<para>

</para>

<!-- ##### ARG TranslateSession:pairs ##### -->
<para>

</para>

<!-- ##### ARG TranslateSession:services ##### -->
<para>

</para>

<!-- ##### MACRO TRANSLATE_SESSION_ERROR ##### -->
<para>
The error domain of translate_session_translate_text() and
translate_session_translate_web_page(). Errors in this domain are from
the #TranslateSessionError enumeration.
</para>



<!-- ##### ENUM TranslateSessionError ##### -->
<para>
Error codes returned by translate_session_translate_text() and
translate_session_translate_web_page().
</para>

@TRANSLATE_SESSION_ERROR_NO_SERVICE: no service could translate using
the given language pair

<!-- ##### FUNCTION translate_session_new ##### -->
<para>

</para>

@services: 
@Returns: 


<!-- ##### FUNCTION translate_session_set_services ##### -->
<para>

</para>

@session: 
@services: 


<!-- ##### FUNCTION translate_session_set_max_threads ##### -->
<para>

</para>

@session: 
@max_threads: 


<!-- ##### FUNCTION translate_session_set_max_retries ##### -->
<para>

</para>

@session: 
@max_retries: 


<!-- ##### FUNCTION translate_session_get_services ##### -->
<para>

</para>

@session: 
@Returns: 


<!-- ##### FUNCTION translate_session_get_pairs ##### -->
<para>

</para>

@session: 
@Returns: 


<!-- ##### FUNCTION translate_session_get_max_threads ##### -->
<para>

</para>

@session: 
@Returns: 


<!-- ##### FUNCTION translate_session_get_max_retries ##### -->
<para>

</para>

@session: 
@Returns: 


<!-- ##### FUNCTION translate_session_translate_text ##### -->
<para>

</para>

@session: 
@text: 
@from: 
@to: 
@progress_func: 
@user_data: 
@err: 
@Returns: 


<!-- ##### FUNCTION translate_session_translate_web_page ##### -->
<para>

</para>

@session: 
@url: 
@from: 
@to: 
@progress_func: 
@user_data: 
@err: 
@Returns: 


