Cesco Posted March 21, 2017 Share Posted March 21, 2017 Hi everyone i'm new on ProcessWire. I download and install version 3 and it works very good. I choose multi-language site for my purpose and I install Italian language pack for admin. To set default admin language i choose it for admin user on setting menu and it works. I want to know if it's possible to set to default Italian language also for frontend. I try to set Italian language for guest user but don't work. I read something about a module, but i don't know i make it. Can you help me ? Thanks in advance. Francesco Link to comment Share on other sites More sharing options...
Christophe Posted March 21, 2017 Share Posted March 21, 2017 Hello, You can add the Italian language pack as the "default" one, then create another English language without having to install any language pack. Link to comment Share on other sites More sharing options...
Cesco Posted March 21, 2017 Author Share Posted March 21, 2017 1 hour ago, Christophe said: Hello, You can add the Italian language pack as the "default" one, then create another English language without having to install any language pack. I have to choose normal installation and after add language, is it correct? Link to comment Share on other sites More sharing options...
Sergio Posted March 21, 2017 Share Posted March 21, 2017 17 minutes ago, Cesco said: I have to choose normal installation and after add language, is it correct? No need, @Cesco. You can do this on your current installation. To use Italian as your default language on the frontend, and considering your want "example.com/" to open in Italian and "example.com/en/" to change to English, do the following: As this is a new installation, and you have no real data yet, delete all languages but the default one, of course. Change the default language title to Italiano Upload Italian translation files to it Create a new language, name "en", title "English" Edit the homepage and set the "en" language as active and the url as "en". 4 Link to comment Share on other sites More sharing options...
Cesco Posted March 21, 2017 Author Share Posted March 21, 2017 2 minutes ago, Sérgio said: No need, @Cesco. You can do this on your current installation. To use Italian as your default language on the frontend, and considering your want "example.com/" to open in Italian and "example.com/en/" to change to English, do the following: As this is a new installation, and you have no real data yet, delete all languages but the default one, of course. Change the default language title to Italiano Upload Italian translation files to it Create a new language, name "en", title "English" Edit the homepage and set the "en" language as active and the url as "en". Ok nice! thank you Link to comment Share on other sites More sharing options...
Klenkes Posted October 2, 2017 Share Posted October 2, 2017 On 21.3.2017 at 2:35 PM, Sérgio Jardim said: To use Italian as your default language on the frontend, and considering your want "example.com/" to open in Italian and "example.com/en/" to change to English, do the following: As this is a new installation, and you have no real data yet, delete all languages but the default one, of course. Change the default language title to Italiano Upload Italian translation files to it Create a new language, name "en", title "English" Edit the homepage and set the "en" language as active and the url as "en". Thanks al lot!!! This is the first howto I actually understood! The only thing I noticed is, that if I change the name of a page in the default language(now not EN anymore), all other name fields are changed to the same value as well. Strange... Link to comment Share on other sites More sharing options...
BFD Calendar Posted November 9, 2017 Share Posted November 9, 2017 On 3/21/2017 at 2:35 PM, Sérgio Jardim said: To use Italian as your default language on the frontend, and considering your want "example.com/" to open in Italian and "example.com/en/" to change to English, do the following: As this is a new installation, and you have no real data yet, delete all languages but the default one, of course. Change the default language title to Italiano Upload Italian translation files to it Create a new language, name "en", title "English" Edit the homepage and set the "en" language as active and the url as "en". What if it's not a new installation but a site that's been on for quite some time, where I want the default to be 'nl' instead of English? Link to comment Share on other sites More sharing options...
szabesz Posted November 9, 2017 Share Posted November 9, 2017 5 hours ago, BFD Calendar said: What if it's not a new installation but a site that's been on for quite some time, where I want the default to be 'nl' instead of English? Have you seen these? https://processwire.com/talk/topic/11451-change-default-language-revisited/ or: https://processwire.com/talk/topic/12743-using-an-empty-language-pack-as-the-default-front-end-language/?do=findComment&comment=116016 2 Link to comment Share on other sites More sharing options...
gar1606 Posted January 19, 2018 Share Posted January 19, 2018 On 9.11.2017 at 2:11 PM, BFD Calendar said: To use Italian as your default language on the frontend, and considering your want "example.com/" to open in Italian and "example.com/en/" to change to English, do the following: As this is a new installation, and you have no real data yet, delete all languages but the default one, of course. Change the default language title to Italiano Upload Italian translation files to it Create a new language, name "en", title "English" Edit the homepage and set the "en" language as active and the url as "en". Can someone tell how one does these steps? How do you delete languages? I am sure it is simple but I just can't see it right now. Any help would be appreciated @Sergio Okay, I got it, I'm a dumbass. Its in Setup > languages and then you just delete what is each textarea or text field and enter the text in the language you need. I was looking somewhere in the module settings for how to delete. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now