如何开始在ASP.NET中开发阿拉伯语站点?

时间:2021-04-30 07:30:59

I would like to develop a website using ASP.NET in an Arabic language.

我想用阿拉伯语开发一个使用ASP.NET的网站。

What would be some good places to begin?

什么是好的开始?

Useful advice to keep in mind?

有用的建议要记住吗?

1 个解决方案

#1


2  

I did some of this in a former life, here's what I recall:

我曾经在以前的生活中做过一些,这是我记得的:

Is it going to be just ar-foo? If not (and I would always encourage thinking about the future possibilities), then having a page layout which is either flexible enough to handle RTL and LTR or switchable is going to be a big deal. That includes moving elements like the ubiquitous left-hand menu.

它会变成ar-foo吗?如果不是(并且我总是鼓励考虑未来的可能性),那么具有足够灵活性以处理RTL和LTR或可切换的页面布局将是一个大问题。这包括移动元素,如无处不在的左手菜单。

Make sure your character encoding supports arabic and is completely standardised from the DB up. XML/XSLT docs are notorious for being forgotten about here.

确保您的字符编码支持阿拉伯语,并且完全从数据库标准化。 XML / XSLT文档因在这里被遗忘而臭名昭着。

It's unlikely but possible that calendars will be a problem. You'll probably get away with using a western calendar in a business application, but the hijri calendar not only varies by country, but in an unpredictable pattern by astronomical event.

这不太可能,但日历可能会成为一个问题。你可能会在商业应用程序中使用西方日历,但是hijri日历不仅因国家而异,而且因天文事件而无法预测。

Finally, be very very careful with your graphics content. Again, this is unlikely to be a problem, but it's a big one if it does come up. I believe my company at the time actually ran stuff past a cleric at the local mosques community centre.

最后,要非常小心你的图形内容。同样,这不太可能成为一个问题,但如果确实出现问题,那就很大了。我相信我的公司当时实际上是在当地*社区中心经过一位神职人员。

#1


2  

I did some of this in a former life, here's what I recall:

我曾经在以前的生活中做过一些,这是我记得的:

Is it going to be just ar-foo? If not (and I would always encourage thinking about the future possibilities), then having a page layout which is either flexible enough to handle RTL and LTR or switchable is going to be a big deal. That includes moving elements like the ubiquitous left-hand menu.

它会变成ar-foo吗?如果不是(并且我总是鼓励考虑未来的可能性),那么具有足够灵活性以处理RTL和LTR或可切换的页面布局将是一个大问题。这包括移动元素,如无处不在的左手菜单。

Make sure your character encoding supports arabic and is completely standardised from the DB up. XML/XSLT docs are notorious for being forgotten about here.

确保您的字符编码支持阿拉伯语,并且完全从数据库标准化。 XML / XSLT文档因在这里被遗忘而臭名昭着。

It's unlikely but possible that calendars will be a problem. You'll probably get away with using a western calendar in a business application, but the hijri calendar not only varies by country, but in an unpredictable pattern by astronomical event.

这不太可能,但日历可能会成为一个问题。你可能会在商业应用程序中使用西方日历,但是hijri日历不仅因国家而异,而且因天文事件而无法预测。

Finally, be very very careful with your graphics content. Again, this is unlikely to be a problem, but it's a big one if it does come up. I believe my company at the time actually ran stuff past a cleric at the local mosques community centre.

最后,要非常小心你的图形内容。同样,这不太可能成为一个问题,但如果确实出现问题,那就很大了。我相信我的公司当时实际上是在当地*社区中心经过一位神职人员。