Multilingual Website HTML best solutions [closed] - html

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am currently building an HTML web site and i need the make it multilingual ...
so i was asking what are the best solutions?
Should I use sub domains http://en.mysite.com, or make it simple, e.g.:
mysite.com/en/index.htm -
mysite.com/fr/index.htm
Should I translate everything for all language or are there tools to auto translate?
Finally, how can I make the website detect the users location and redirect him to his language?

Generally, I would say to have higher rank in search engines it might be better to avoid subdomains.
Since you only have HTML, the redirection solutions are not good enough to consider them. For instance if someone decide to visit English version from Paris, to avoid annoying redirections you might need to keep track of this choice by cookies.
Instead of redirection you can still suggest a language for them (according to their location). It's possible by google loader: https://developers.google.com/loader/

You could use /your/path?lang=en.
To detect the users language, see: https://stackoverflow.com/a/8199791/1500022

Related

How to make a website without a a website maker [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I've been wanting to make a website but I wanted to code it myself without using one of those website makers. Are there any ways of doing this? I would also like to publish it as well. Thanks.
1.Write your code and save it.
2.Purchase a domain and host it with ehost or something like that.
3.Upload your file. That's it.
[ehost provide hosting with free domain]
This is not technically an appropriate question for SO. However, you need to learn the basics of HTML. Start at W3 Schools. http://www.w3schools.com
You mentioned that you already know HTML. If you are just making static content, that will suffice. I strongly recommend learning CSS. While it is not technically necessary, it will make your life much easier. When you want to publish it, you will have to pay for a domain and a hosting service. Google Domains can help you with this.

Is the inline image or the referenced on better In html emails? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I would like to know some pros and cons about the which solution is better in html email when we are dealing with images.
If the image is attached inline?
Or if it is referenced and stored in a public url?
Loading of images referenced from a public URI will often be blocked by the Mail User Agent (Thunderbird e.g.) to protect the user's privacy and avoid tracking.
So attaching them is the best way to have the images shown to the receipient.
In my opinion the better way is url img :
lighter
attaching picture can be blocked by antivirus/spyware
some users disable images because they have enough speed or not to waste their package. Remember that mobile is increasingly used!
When a Mail User Agent protect the user privacy, you need respect
that. You needed to interest your client with your title, your text
content so that it unlocks pictures.
I send mass mailling every week. I do not consider myself pro.
You can To analyze several newsletters. You'll see what the professionals do.
PS : sorry for my bad english =)

Security issues in third party HTML content [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have a site currently under development which I allow users to post comments. I want to know if there is a potential security issue if a user maliciously posts HTML elements. I know allowing javascript or CSS is dangerous, but what about HTML?
Yes, there are security issues like iframe as mentioned in the comments. OWASP has a very detailed page on dealing with 3rd party content here: https://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet .
Various languages offer libraries to deal with this:
Rails: http://api.rubyonrails.org/classes/ActionView/Helpers/SanitizeHelper.html
PHP: http://htmlpurifier.org/comparison
Many different HTML elements can be used in malicious ways, though iframe and script are the worst. The safest solution is to allow a formatting-only language such as Markdown that can easily be used with most server-side languages.

Best way of adding a simple blog to a website? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I'm developing a site and I want it to have a very simple blog page. What are the best options to add in a blog to the site? blogger/wordpress seem like overkill, as I just want to be able to do simple posts and allow people to comment, are there any recommened blog scripts that I could use? I don't mind it being commercial as long as there's no branding on it. The site is being developed in Xhtml, Css, Jquery, Php, mysql.
thanks for any help.
Personally I would use Wordpress, I know it may seem to have over-bloat for your needs, but you never know when your needs change/expand so having a good base system for this is a good place to be.
You can strip out and hide a lot of Wordpress functionality through simple extensions if you wish the UI to be more simple. It's not the worlds #1 blogging software for no reason ;)
A great alternative to wordpress is b2evo. Its free, open source and easy to set up and use.

Website Usability Testing Procedures [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
I'm looking at this service: http://www.intuitionhq.com It's great, but it requires the user to opt in to the test. I'd like to find a service that I can just embed some javascript on the page and wherever a user clicks is recorded so I can find out what's most popular on what page. Does anyone know of something like that?
I'm one of the folks from IntuitionHQ - just thought I'd drop in on this. As you say, we don't currently have that functionality, but we are always on the lookout for popular features, and I'll be sure to put another check mark next to this one on our list.
For what you are describing now Mouseflow sounds like it might do the trick, so perhaps check that out. And keep us in mind for when you want to test some different designs, or if you want to compare two designs with each other (as we also do A/B testing).
Good luck with your testing, and if you have any further questions, please do ask.
Cheers,
Jacob from IntuitionHQ.