multilingual

What's the modern way to solve Plone deadlock issues?

守給你的承諾、 提交于 2019-12-20 03:14:08
问题 I currently have a Plone 4.3.8 site where editing a portlet causes a deadlock. I'm trying to find tools to fix this, but most deadlock tools don't work & I'm not getting good information (IMO) from those that at least run. I've tried: z3c.deadlockdebugger => can't get to a stacktrace ZopeHealthWatcher => can't see the results on command line (or webpage) Products.LongRequestLogger => perhaps the best so far, gives me some log output - but it's stack traces focus on Diazo code, but the problem

How detailed should my sitemap be for a multilingual site?

感情迁移 提交于 2019-12-20 03:11:32
问题 I have a one page website which includes an English main page, and a French Main Page. One can access my website through the following URLs: ENGLISH VERSION OF MAIN PAGE www.example.org www.example.org/index.html example.org example.org/index.html FRENCH VERSION OF MAIN PAGE www.example.org/fr www.example.org/fr/index.html example.org/fr example.org/fr/index.html For optimal search engine indexing, should I include all of these URLs in my sitemap (with both http:// and https:// )? If not,

adding a custom language to django

北慕城南 提交于 2019-12-20 03:08:38
问题 I'm translating my website into the 24 languages of the European Union. These include the "Malti" language, that is not listed in django default supported languages. I would like to know if there is a way to add a custom language to django so it can work with the native i18n url function. Thanks! 回答1: I found the solution, you have to manually add a folder in /django/conf/locale/ with the language extension you want. Actually you can just copy past the en (english) folder and name it after

adding a custom language to django

泄露秘密 提交于 2019-12-20 03:08:29
问题 I'm translating my website into the 24 languages of the European Union. These include the "Malti" language, that is not listed in django default supported languages. I would like to know if there is a way to add a custom language to django so it can work with the native i18n url function. Thanks! 回答1: I found the solution, you have to manually add a folder in /django/conf/locale/ with the language extension you want. Actually you can just copy past the en (english) folder and name it after

How to build multilingual Crystal reports

孤街醉人 提交于 2019-12-20 03:02:25
问题 We are developing a multilingual Winforms application using visual studio 2008. I am trying to figure out how I can create multilingual reports using crystal Reports. Is there any thing similar to .net resource files in the Crystal reports world? 回答1: I'm sorry that I'm robbing you of your tumbleweed badge, but I don't think Crystal has the multiple language support similar to .NET. I think that your only option is to have a separate report for each language and pass the data into the report

URL structure for multi-language site

懵懂的女人 提交于 2019-12-20 02:50:57
问题 I want to make a multi-language site, but I'm not sure what the best way is to deal with the URL structure from a SEO point of view. Some examples: Product example.com/product/123/en/product-name or example.com/product/123/product-name/en Or other? Category example.com/Category/en/furniture/chair/ or example.com/Category/en/120/chair/ or example.com/Category/en/chair/ Or other? 回答1: (Ignoring the SEO aspect, as it’s off-topic on Stack Overflow.) Having the language tag as the first path

Problem in accessing localized string in ASP.NET MVC application

廉价感情. 提交于 2019-12-19 10:36:09
问题 I created an ASP.NET MVC application and added 2 resource file for about.aspx page in the project. It looks like this: Then I modified the About.aspx page as following: <asp:Content ID="aboutContent" ContentPlaceHolderID="MainContent" runat="server"> <h2><%= GetLocalResourceObject ("About")%></h2> <p> <%= GetLocalResourceObject ("PutContentHere")%> </p> </asp:Content> I tried to run the about page after changing the firefox locale to hi-IN but it still shows the default text (in English).

Best practices for multi language site across different sub domains

☆樱花仙子☆ 提交于 2019-12-19 08:33:44
问题 I am looking to build a site in ASP.NET. I need it to be in french and english with the domains setup like so: en.mysite.com fr.mysite.com I do not want to duplicate code or have to upload the files to both domains if possible. It would be ideal to have all the files on www.mydomain.com and then use resource files to sort the translations. What is the best way to set this up in ASP.NET? 回答1: My solution was setting the lang in the BeginRequest in global.asax Sub Application_BeginRequest(ByVal

ASP.Net / MySQL : Translating content into several languages

只愿长相守 提交于 2019-12-19 03:58:47
问题 I have an ASP.Net website which uses a MySQL database for the back end. The website is an English e-commerce system, and we are looking at the possibility of translating it into about five other languages (French, Spanish etc). We will be getting human translators to perform the translation - we've looked at automated services but these aren't good enough. The static text on the site (e.g. headings, buttons etc) can easily be served up in multiple languages via .Net's built in localization

Can C++ Application load the .jar File using JNI?

萝らか妹 提交于 2019-12-18 17:00:43
问题 Thanks for having a look at question. I am trying to invoke a java method which is in class files using JNI interface. In turn the called class file should be executing the another .jar file which resides in the same direcotry ? I had hard time acheiving this and I am unsuccessful in executing the .jar file. I mean I am not able to get the results from the class fuile available in .jar file. Can any one explain,whether it is possible to do that way or I should look for the another option ?