-1

What are the possible options for having a single language non-English site? I am thinking of performance mostly.

I don’t want prefix or suffix in urls. I don’t preferably want entity language (Language neutral possible in Drupal 8)

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

1 Answer 1

4

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.

4
  • 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. Sep 22, 2017 at 12:06
  • May I know what performance considerations you have for this?
    – Bharat
    Sep 22, 2017 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 Sep 22, 2017 at 12:14
  • 1
    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, 2017 at 15:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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