Skip to main content
Drupal 8

Main navigation

  • Home
    • Question And Answer
    • NEWS
    • Projects
  • Tutorials - Drupal
    • Android
    • Other
User account menu
  • Log in

Breadcrumb

  1. Home

Tutorials - Drupal

By editor , 6 November, 2015

Hogyan lehet a jelenlegi nyelven a Drupal 8

Tags

  • Drupal 8
  • Code
  • Translation
  • User

Drupal 8

//a lanuage kód:
$language = \Drupal::languageManager()->getCurrentLanguage()->getId();

//a nyelv neve:
$language =  \Drupal::languageManager()->getCurrentLanguage()->getName();


 

By editor , 6 November, 2015

Como obter o idioma atual no Drupal 8

Tags

  • Drupal 8
  • Code
  • Translation
  • User

o Drupal 8

//Para obter o lanuage código:
$idioma = \Drupal::languageManager()->getCurrentLanguage()->getId();

//Para obter o nome do idioma:
$idioma =  \Drupal::languageManager()->getCurrentLanguage()->getName();

By editor , 6 November, 2015

Cum pentru a obține curent limba în Drupal 8

Tags

  • Drupal 8
  • Code
  • Translation
  • User

Drupal 8

//Pentru a obține părerea cod:
$language = \Drupal::languageManager()->getCurrentLanguage()->getId();

//Pentru a obține numele limba:
$language =  \Drupal::languageManager()->getCurrentLanguage()->getName();

By editor , 6 November, 2015

Hur får man det aktuella språket i Drupal 8

Tags

  • Drupal 8
  • Code
  • Translation
  • User

Drupal 8

//för Att få den språksyn-kod:$language = \Drupal::languageManager()->getCurrentLanguage()->getId();

//för Att få språket namn:$language =  \Drupal::languageManager()->getCurrentLanguage()->getName();

 

By editor , 6 November, 2015

Gördüğünüz 8 mevcut dili nasıl

Tags

  • Drupal 8
  • Code
  • Translation
  • User

Siteye 8

//Ankara kodu
$language = \Drupal::languageManager()->getCurrentLanguage()->getId();

//dil adı:
$language =  \Drupal::languageManager()->getCurrentLanguage()->getName();

 

 

By editor , 6 November, 2015

Làm thế nào để có được ngôn ngữ hiện tại site 8

Tags

  • Drupal 8
  • Code
  • Translation
  • User

Drupal 8

//Để có được những lanuage mã:
$language = \Drupal::languageManager()->getCurrentLanguage()->getId();

 

By editor , 6 November, 2015

كيفية الحصول على اللغة الحالية في دروبال 8

Tags

  • Drupal 8
  • Code
  • Translation
  • User

دروبال 8

//للحصول على lanuage code:
$language = \Drupal::languageManager()->getCurrentLanguage()->getId();

 

By editor , 6 November, 2015

Как да получите текущия език в Drupal 8

Tags

  • Drupal 8
  • Code
  • Translation
  • User

Друпал 8

<код>//за да получите код език:
$language = \Drupal::languageManager()->getCurrentLanguage()->getId();
 

By editor , 6 November, 2015

পেতে কিভাবে বর্তমান ভাষা Drupal এর 8

Tags

  • Drupal 8
  • Code
  • Translation
  • User

Drupal এর 8

//পেতে lanuage কোড:
$language = \Drupal::languageManager()->getCurrentLanguage()->getId();

//পান ভাষা নাম:
$language =  \Drupal::languageManager()->getCurrentLanguage()->getName();

 

By editor , 6 November, 2015

How to get the current language in Drupal 8

Tags

  • Drupal 8
  • Code
  • Translation
  • User

Drupal 8

//To get the lanuage code:
$language = \Drupal::languageManager()->getCurrentLanguage()->getId();

//To get the language name:
$language =  \Drupal::languageManager()->getCurrentLanguage()->getName();

Pagination

  • First page
  • Previous page
  • …
  • Page 20
  • Page 21
  • Page 22
  • Page 23
  • Page 24
  • Page 25
  • Page 26
  • Page 27
  • Page 28
  • Next page
  • Last page

Links

  • Drupal.org
  • Drupal core release cycle
  • Drupal events with ease
  • Unit test with Drupal using PHPUnit (Drupal 10)
  • Tokens for file upload url
  • Tips for Docker
  • CKEditor inline image files usage for custom forms.
  • Install Docker on Linux Mint
  • Install PHP 8.1
  • Drupal Security Best Practices
  • Order and sort items with tabledrag
  • Add a custom service YAML container
  • Apply a patch with composer