I am using asp.net and I have implemented localization in a website where the users can switch between english and french, where english is the default language, I've added shareThis plugin in the pages, the issue is if a user switched to french and then shared the page on facebook or for example sent the page url in a mail to a friend to see, the page will open in english and not french, I know this is logic but the problem is the client wants the shared page to be in the language the user chose, meaning if am sharing the page in french then people will see it in french too.
Is there a solution for this issue?
Thanks in advance
This is where it's useful to use a URL scheme for localizing your web app. Instead of relying on session state, your web app can set the CurrentUICulture based on the request URL and your language switch can work by performing a redirect (e.g. to www.yourapp/fr for French). This way, when your French user shares the page, they'll be sharing www.yourapp/fr which always displays in French.
Related
I've installed Alfresco Community Edition v201707-5 in the Google Cloud. The language of the user interface is Russian. I want to change it into English. The documentation says you can do it in the user profile. It doesn't work for me.
According to the page above, first you need to select "My profile" menu item.
Thereafter the profile page will open, which looks like shown below in my case.
There must be a page titled "Language" here. But I don't see it.
How can I change the language of the user interface?
Promoting a comment to an Answer...
Alfresco Share use's the Browser's requested language to pick which language to display. Specifically, the Accept-Language header. The highest preference language known to Share that your browser requests will determine the language in Share
So, if you tell your web browser to prefer English over Russian, then Share should switch over too!
I am working with a website www.ieleads.com . the website has multilingual functionality on it in English, Arabic,Chinese. But here we don't have language-specific url like if a page opens in English and you change it in Chinese then there no changes occurs in url structure. Now I looking for a way if a visitor who has preference for Arabic or Chinese in browser or search engine then he shows relevant version of website in default.
can it possible without having change in url structure.
You're looking for HTTP header Accept-Language
I am developing a Drupal 7 site with multi-language, using only locales module. Two questions.
1.I made a custom "forgot my password" page, accessible through http://example.com/fr/user/password for french. Once I enter my email and click the button, it get redirected to /user, loosing the language on the way.
I wrote my own submit handler and redirect to another page without much success. It looks like on the submit, the form is rebuild, without the language in the url, and from that point on, everything is happening in the default language. How can I keep the language reference ?
2.Drupal core messages are not translated, like "Further instructions have been sent to your e-mail address.", even if its under the t().
Any help would be appreciated.
Thanks.
Losing the language may be because of how you have your detection set up. Language detection settings are at 'admin/config/regional/language/configure'. But it may also be because you are redirecting to the wrong language? How are you getting the url to redirect to?
You should use the l() function or url() function as I think these will respect the current language and give you the correct url.
You should be able to translate messages on the translate interface at: admin/config/regional/translate/translate
I have an Umbraco (ASP.NET CMS) website. Inside this website I have created a directory called 'forum' and into that directory I have installed 'JitBit' ASP.NET forum. The 'forum' folder in my site is running as an application in IIS as per the forum documentation. It works great.
So to be clear, my website and forum are on the same domain e.g http://www.example.com and http://www.example.com/forum.
Now I want to have a log-in form on the website homepage, containing 'username' and 'password' fields which posts to the forum and signs the user in. There is no membership system on the main website, just the forum, but I'd like users to log in to the forum from the website homepage.
It seems that JitBit forum uses ASP.NET webforms, and the log-in form on the forum homepage posts to itself (just default.aspx) so my question is, can I post to a webforms page somehow from a non webforms page and get this log-in to work? I've tried the obvious simple HTML post from the homepage, using the correct username and password input names, but that doesn't work. Is there a way to make this work or do I have to build a membership system on the main website and cross-authenticate when a user gets to the forum?
Many thanks for any pointers.
I solved this adding value="Request.Form["Username"]" and value="Request.Form["Password"]" in the log-in input fields in the forum masterpage, then injecting some JavaScript to submit the log-in form on page load if those two values are present (if the log-in form has been posted). It's a little bit of a hack but works nicely.
I couldn't do anything with usercontrols as per #user3771965's suggestion as the parent site is MVC and I don't have source to the forum.
I have a Wordpress site that is built on Foundation-theme and using Stella for multilingual plugin. When you change language it works great, but when you click "Home" in the menu, you get redirected to default language.
What do I need to do?
Best practice is always provide code. Well,Check you code either the multilingual is maintaining a session in which it stores the current language title like English(en)
OR
check your URL may be there is a parameter ?lang=en so you need to place this parameter on each link on your whole site to keep the user in the respective language.
for Example your logo should be this:
<img src="/images/logo.jpg"/>
5 Easy Steps To Create A WordPress Multilanguage Website.
Their website. They must also learn to create a WordPress multilanguage website as it will be helpful in reaching new audiences. Creating a multilanguage setup does not require building a new interface. Instead, the content of the existing website is translated into different languages. This helps in communicating the vast majority of the world’s population which is not familiar with English.
Multilanguage interfaces give visitors the convenience of browsing the content in the language of their choice. This sort of personalized user experience helps in fostering strong relationships with customers. WordPress website owners can use the following steps to add multilingual capabilities to their interface.
Read More:-WordPress Multilanguage Website