Starting Apache Velocity Localization/Internationalization (i18n) - apache

I have a great difficulty finding documentation on how to implement internationalization/localization with Apache Velocity. I checked Velocity documentation and did online research, but I can't find supporting material on how to organize and support localization using .vm (Velocity template) files and properties.
Can someone please direct me to the right resource/documentation/book that describes how to implement localization using Apache Velocity?
I'm trying to do as much as I can up-front research and reading before starting coding.
Thanks,
partizan

Use VelocityTools.
http://velocity.apache.org/tools/releases/2.0/javadoc/org/apache/velocity/tools/generic/ResourceTool.html
It's also likely that Spring provides some velocimacro or context object that helps with i18n, as Spring generally has a lot of support for i18n

Related

How can I do multi region browsing with NuxtJS?

In the near future, It's going to be needed that I implement multi region browsing. Is it possible to achieve that using #nuxtjs/i18n? I recently implemented multi-language browsing with that library, but I'm not sure if I can implement multi-region browsing with it too.
Let me know if I'm wrong, and if there is any other library that allows me to make multi-region browsing let me know too! Thanks
UPDATE: By region, I mean an implementation like this https://imgur.com/a/BdyfEeC

Bigcommerce Stencil - What is Required and Help Setting Up

I just got access to the new Stencil beta and I have no idea what to do. I have reviewed all of the documentation on the BC developer website, but I don't know how to proceed. I am also not sure if I will even be able to create designs in Stencil since I don't know Handlbars or json - are those programming skills required or can we still rely on CSS and HTML for most design customization? BC told me there is no support for getting set up and to ask in this forum instead.
Normally I would look under the hood of an existing theme to see how it's built and try "learning on the job" but since I can't even get access to the files, I am at a loss. I created an account on GitHub but I have never used it so I don't know where to look for the files (I did a search but there are thousands of files there and I again couldn't figure out where to start). Can anyone point me in the right direction so I can determine if using Stencil is even feasible for my projects?
Handlebars compiles serverside as HTML. You do still have stylesheets, but we are using some SASS custom functions (documented in Stencil docs).
I'd recommend taking a look here: http://blog.teamtreehouse.com/getting-started-with-handlebars-js

I don't understand the Dojo documentation

I'm a beginner in dojo. First of all is everything javascript based? For example to create a form I have to use JavaScript or HTML tags?
Also I cannot understand their documentation and tutorials. It's very confusing.
Is there a proper website (other then dojo itself) that has good tutorials?
You can use Dojo's components's (widgets) in two ways. Programmatic and declaritive. The programmatic way (what you are talking about) is by defining widgets through the use of javascript. With declaritive you can define them using HTML markup. David Walsh has a nice short writeup and if you search for "declaritive programmatic dojo" you'll find some questions and answers on the matter:
https://davidwalsh.name/dojo-widget
Difference between programmatically vs declaratively created widgets in dojo?
Declarative coding or programmatic coding in Dojo Projects?
Declarative or programatic approach in DOJO?
If you're having trouble with the tutorials on the Dojo website, i suspect you're better off, first diving into some basic beginner javascript tutorials before trying to learn a framework like Dojo. I concur with the comment Ferry made on your question, there are no better resources than the actual Dojo website. I recommend following every tutorial, starting with the Hello Dojo tutorial and working your way up so that you don't miss out on the basic concepts which you'll need when you read the harder tutorials. Good luck!
For your first question: dojo is javascript-based platform that provide you with a basic javascript library and a bunch of basic widgets (UI controls like button, dialogue, layouts,...), and some extra things. However, you don't really have to use dojo all the time: you still can use dojo to manipulate a html form button; it's just dojo button comes with extra functionalities and might save you some time.
For the second question, I agree with iH8 that dojo website is the best place to start. There are three different ways dojo websites can help you:
Look at the tutorial: Basic steps on how to set it up and use provided functionalities as-is
Look at thetoolkit api: This provides a very detailed view of dojo javascript object (See what extra things you can do with dojo objects)
Look at the nightlytest: I found this very helpful in term of showing me what can be done outside of the tutorial (i.e. how to use things you found in the api)
Other than these, you can look at existing implementation to learn about the toolkit.
Basically, this is how I am learning Dojo. Without more-specific questions, it's hard to tell what is confusing about the tutorial. I would recommend you give it a try and post a question: everyone here will be willing to help you.
I recommend starting with some video tutorial like this.
When you understand the concept, you can try to copy and paste some code from Dojo documentation tutorials or Reference Guide, because all books are out-of-date.
Also you may find some useful information on IBM-related sites like http://www.ibm.com/developerworks because IBM invested in Dojo and uses it for its products.
If you have enough resources ($) you can take participation in Workshops (sitepen.com/workshops)

Where can I find a comprehensive list of NServiceBus configuration options and what they mean?

I'm having trouble locating documentation on the many NServiceBus configuration options for
both the Code method and the Config File method.
I'm looking for a cohesive, comprehensive list and have searched in vain all over the product's on-line documentation.
Can anyone point me to that documentation if it exists?
This is a little dated, but most of it still applies: Customization Part I and Customization Part II

Magnolia CMS - Module Creation technique for creating templates

need to create templates based on magnolia standard templating kit...by watching other modules in built in Magnolia...
can i get a start here from any of our folks.....or some steps to catch up with...
Thanks in advance...
Did you read the documentation at http://documentation.magnolia-cms.com most specifically the technical guide's section on STK: http://documentation.magnolia-cms.com/technical-guide/stk.html
If you still have questions i suggest to use http://forum.magnolia-cms.com