And there was no way to change them without editing the code. These settings used to be manual entries in extension code and they were required by the extension during decision making logic. The site owner still needs to follow all the steps above and in addition to those steps he/she should define site default language and all languages used by the site. Now vital stuff can be set using the control panel. Some parts of the extension needed a manual code editing - therefore required more coding experience. Now the extension has a settings page where the user can define a default language and a list of site-wide available languages. It’s mainly important to achive correct auto created links in EE after the above mentione modifications.Ĭem thank you for the comment & Lisa thank you for adding it into wiki. I’m not talking about security issues etc. To our experience, the best practice right now is to remove both index.php and template group name from URLs. htaccess file as also told in Alternative Method. In your site’s root folder you have to create an. The other thing that I forgot, kind of the last step missing: We’re still in process of understanding EE way of thing things so there may be some unvital lines of code there. We haven’t prepared all the English translations & all the site templates yet, sorry :)īy the way the code in extension is open to a lot of improvements. Oh, and yes it is in Turkish, and basically saying that the system is off for maintenance. I’ve moved the download into a sub-domain and updated the links above. Select line 21 through 22 and replace it with this: Using a text editor of your choice open the path.php located in your Expression Engine installation’s root folder. Modify path.php in your installation’s root folder: Now, go to Multi Language Site Alternative and follow the steps 1 through 5.ĥ. Follow the instructions at Multi Language Site Alternative: We have tested the solution both on Windows and Linux environments using Apache and PHP5. Don’t worry, that we don’t have a site up and running doesn’t mean we have not tested the solution. Backup your located in “core” folder of your EE installation’s system folder. Backup your path.php located in root folder of your EE installation. Backup your index.php located in root folder of your EE installation. One more thing, we have tested on only with servers suporing PHP5 and not PHP4. Also you may have issues in future Expression engine updates. So you may encounter some errors if you are not comfortable with PHP or ExpressionEngine. This solution is a bit advanced, includes a core hack. Now that you get the idea here is the complete step-by-step solution: To solve the second issue, we’ve made a complete new extension using some of the logic in Language Switcher Extension.Īlso with this new solution we do not need the Template Language Plugin anymore. To solve the first issue, we’ve seen that there is a neeed of new hook in core language file. So we decided to study the Multi Language Site Alternative method and elaborate on it a bit more. In real life users expect the site to remember their language preference. As is the method was setting the language to system defaults. ![]() But what if the user re-visits site using this URL. Everything is fine when users enter site using the URL. Second main issue was about default language. For those to get translated into requested language, the user had to refresh the page. day or month names were used to appear in prev. When users enter to weblog entries appeared in requested language. However, during implementation we’ve encountered several issues. We’ve chosen that method because of the elegant URL structure. At the end, we’ve decided to go with this solution Multi Language Site Alternative. we were checking some of the solutions discussed in EE forums and wiki. Support the collection of translated text.Well, this isn’t entirely an original solution - more like an enhanced solution.Īs biber Ltd. Improve conversation from this language translator has the latest voice recognition technology to translate all languages into target language translation. Language translator to translate all languages and voice recognition is amazing to pick up your voice from voice translator and detect languages. Some time we prefer voice translator onto text translation but here we have both text translator and voice translator for you. You can also get the translation by voice, translate your voice in just short times and read aloud the translate results. You can get the translation by entering text. Translate Pro is a professional and fast translation translator app, whether you're traveling to new places or trying to get started learning a new language the app is what you need.Ī compact and easy to use Translate Pro, app has two translation modes, and you can get translations in two ways.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |