<spanid="cpl-translation-translate-pipe"></span><h2>cpl_translation.translate_pipe<aclass="headerlink"href="#module-cpl_translation.translate_pipe"title="Permalink to this heading"></a></h2>
<emclass="property"><spanclass="pre">class</span><spanclass="w"></span></em><spanclass="sig-prename descclassname"><spanclass="pre">cpl_translation.translate_pipe.</span></span><spanclass="sig-name descname"><spanclass="pre">TranslatePipe</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">translation</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><aclass="reference internal"href="#cpl_translation.translation_service_abc.TranslationServiceABC"title="cpl_translation.translation_service_abc.TranslationServiceABC"><spanclass="pre">TranslationServiceABC</span></a></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_translation.translate_pipe.TranslatePipe"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">transform</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">value</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">any</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">*</span></span><spanclass="n"><spanclass="pre">args</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_translation.translate_pipe.TranslatePipe.transform"title="Permalink to this definition"></a></dt>
<spanid="cpl-translation-translation-service"></span><h2>cpl_translation.translation_service<aclass="headerlink"href="#module-cpl_translation.translation_service"title="Permalink to this heading"></a></h2>
<emclass="property"><spanclass="pre">class</span><spanclass="w"></span></em><spanclass="sig-prename descclassname"><spanclass="pre">cpl_translation.translation_service.</span></span><spanclass="sig-name descname"><spanclass="pre">TranslationService</span></span><aclass="headerlink"href="#cpl_translation.translation_service.TranslationService"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">load</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">lang</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_translation.translation_service.TranslationService.load"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">load_by_settings</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">settings</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><aclass="reference internal"href="#cpl_translation.translation_settings.TranslationSettings"title="cpl_translation.translation_settings.TranslationSettings"><spanclass="pre">TranslationSettings</span></a></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_translation.translation_service.TranslationService.load_by_settings"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">set_default_lang</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">lang</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_translation.translation_service.TranslationService.set_default_lang"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">set_lang</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">lang</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_translation.translation_service.TranslationService.set_lang"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">translate</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">key</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span><spanclass="sig-return"><spanclass="sig-return-icon">→</span><spanclass="sig-return-typehint"><spanclass="pre">str</span></span></span><aclass="headerlink"href="#cpl_translation.translation_service.TranslationService.translate"title="Permalink to this definition"></a></dt>
<spanid="cpl-translation-translation-service-abc"></span><h2>cpl_translation.translation_service_abc<aclass="headerlink"href="#module-cpl_translation.translation_service_abc"title="Permalink to this heading"></a></h2>
<emclass="property"><spanclass="pre">class</span><spanclass="w"></span></em><spanclass="sig-prename descclassname"><spanclass="pre">cpl_translation.translation_service_abc.</span></span><spanclass="sig-name descname"><spanclass="pre">TranslationServiceABC</span></span><aclass="headerlink"href="#cpl_translation.translation_service_abc.TranslationServiceABC"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">abstract</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">load</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">lang</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_translation.translation_service_abc.TranslationServiceABC.load"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">abstract</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">load_by_settings</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">settings</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><aclass="reference internal"href="#cpl_translation.translation_settings.TranslationSettings"title="cpl_translation.translation_settings.TranslationSettings"><spanclass="pre">TranslationSettings</span></a></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_translation.translation_service_abc.TranslationServiceABC.load_by_settings"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">abstract</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">set_default_lang</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">lang</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_translation.translation_service_abc.TranslationServiceABC.set_default_lang"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">abstract</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">set_lang</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">lang</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_translation.translation_service_abc.TranslationServiceABC.set_lang"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">abstract</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">translate</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">key</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span><spanclass="sig-return"><spanclass="sig-return-icon">→</span><spanclass="sig-return-typehint"><spanclass="pre">str</span></span></span><aclass="headerlink"href="#cpl_translation.translation_service_abc.TranslationServiceABC.translate"title="Permalink to this definition"></a></dt>
<spanid="cpl-translation-translation-settings"></span><h2>cpl_translation.translation_settings<aclass="headerlink"href="#module-cpl_translation.translation_settings"title="Permalink to this heading"></a></h2>
<emclass="property"><spanclass="pre">class</span><spanclass="w"></span></em><spanclass="sig-prename descclassname"><spanclass="pre">cpl_translation.translation_settings.</span></span><spanclass="sig-name descname"><spanclass="pre">TranslationSettings</span></span><aclass="headerlink"href="#cpl_translation.translation_settings.TranslationSettings"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">property</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">default_language</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="pre">str</span></em><aclass="headerlink"href="#cpl_translation.translation_settings.TranslationSettings.default_language"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">from_dict</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">settings</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="n"><spanclass="pre">dict</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_translation.translation_settings.TranslationSettings.from_dict"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">property</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">languages</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="pre">list</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">str</span><spanclass="p"><spanclass="pre">]</span></span></em><aclass="headerlink"href="#cpl_translation.translation_settings.TranslationSettings.languages"title="Permalink to this definition"></a></dt>