0

What is the best approach of having a single language non-English site? I am thinking of performance mostly.

I dont want prefix or suffix in urls. I dont preferably want entity language (Language neutral possible in D?)

Adding a second language, deleting English? Will this have implications?

2

For a Single Language non English site, When you install Drupal 7, it gives you option of selecting the Language. Plus you will need to download the language PO files for your language.

But if you are using Drupal 8 the only requirement is selecting correct language when you install your Drupal. Drupal 8 will automatically download all the language files for you.

  • Thanks, but performance-wise this is no different than adding a second language, and setting it as default. I am searching for a better way if possible. – Sinan Erdem Sep 22 '17 at 12:06
  • May I know what performance considerations you have for this? – Bharat Sep 22 '17 at 12:08
  • Basically, for every translated string to be rendered, there is a query from the database to get that string translation. I wonder if there is an easy way to overcome this. There is a discussion about the subject here: groups.drupal.org/node/149984 – Sinan Erdem Sep 22 '17 at 12:14
  • No, that is not true, there isn't a query per string or at least only the first requests. This is cached in a single entry. There is no other way, this is the recommend and more or less only way. – Berdir Sep 22 '17 at 15:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.