TYPO3 Localizer Extension - Cart Configuration - localization

So I am trying to learn a bit more about TYPO3 and Localization. So I am using the Extensions:
L10N-Manager
Localizer
I can create the base Localizer-Configuration but whenever I go into the Selector Tab and try to create a new Cart, I can't select any languages - which makes the created Cart "breaking" (a "global cart" is created but all fields are not available for editing and I can't view it in the Cart Tab of the Localizer)
I am wondering what I am doing wrong - I sadly didn't find any records on such problems or a better introduction about the configuration. All Tutorials just show how the Localizer Configuration is created and then they can simply create a cart.
Is this a known problem? Would be great if anybody knows a solution. Or a really good tutorial that shows step by step how to set up the configuration.
Info: I am using TYPO3 on my localhost (XAMPP) with TYPO3 Version: 10.4.13
Thanks ahead

The Localizer manual says for both, source and target language fields:
Important
Make sure each of the language records has been configured with the
necessary locales to distinguish between languages during the
translations process.
So did you configure the language records accordingly?
Most likely the locale values based on static_info_tables records have not been set, which is currently still necessary. So you should check your sys_language records for those values.
In upcoming versions of Localizer this will be replaced with values taken from the site configuration.

Related

Translate JMeter menu items

About Translate JMeter projects,
I follow the translating steps and open I18NEdit,
I see the translation text options but I notice that I can't localize Menu items as File, Exit,..
It seems that there are texts (messages.properties) that can't be localized.
Is messages.properties localization is done manually by adding messages_[locale].properties?
Am I missing something ? Is it on purpose or should an enhancement be opened?
We don't really use i18nedit for translation. But you can still use it.
Anyway, Internationalization in JMeter is based on properties files:
src/core/org/apache/jmeter/resources/messages_[locale].properties
src/components/..../*.properties (except some like colors.properties)
src/protocol/..../*.properties
No need to translate deprecated components.
The 2 latter are related to components that rely on TestBean approach (no specific GUI)
Note that a PR (github mirror) is preferred over a patch:
https://github.com/apache/jmeter/blob/trunk/CONTRIBUTING.md

Where can I find the default templates for all the Grails fields plugin types?

I was hopping to have an easy way to customize the display behavior of the Grails fields plugin after reading its docs, but I just realized that it demands an enormous effort as there is no available templates to start from.
I can see the display functionality is hard-coded in FormFieldsTagLib (from methods like renderDefaultInput() ) but I think it is imperative to have the templates themselves (or a way to generate them, somewhat like generating static scaffolding in Grails).
I can see no consistent (and reasonable) way to customize display behaviors for the Grails fields plugin without that. Am I missing something?
Imagine the use case where someone wants to change the boolean default rendering just to display the field label after (and not before) the checkbox, and keep it available to all the boolean fields within its application. Which concerns will he need to handle regarding if the field is required, has errors, prefix and so on? When all he needed was just moving two divs around.
Grails version: 2.5.4, fields-plugin version: 1.5.1
You aren't missing something. You'd have to re-create the existing implementation of each field type rendering in a template for use with the plugin. There isn't a way to generate a file to start with (like scaffolding).
I won't bore you with the historical reason as to why this is the case, but if you do create a set of base templates it would be a good idea to contribute back to the plugin.
I had an issue with the <f:table> tag, and found this post, which led me to find the base or default template inside the plugin repo.
Take a look at
https://github.com/grails3-plugins/fields/tree/master/grails-app/views
That may help you finding some default templates, along with the official doc and this answer on where to put the override.
Hope it helps you.

How to implement blogging feature in umbraco 7

Recently I am started exploring Umbraco 7 cms and building a site where I need to implement a blogging feature.I want to do it using MVC razor syntax but I am also open for extension.But primarily I want to do it using coding . Please help me by giving some ideas and resources to accomplish the task.
Thanks
Utpal
You can use uDateFoldersy for this purpose. using it you will be able to do following with out any coding.
Configure multiple nodeTypeAliases for landing (root eg. news, blog) nodes.
Configure multiple nodeTypeAliases for nodes to put in date folders (eg. article, blogpost)
Configurable property alias for date property (you can call it anything!)
Automatic folder creation occurs on the Saved event.
Change of a date in a node results in the node being moved.
Moving a node to another date folder results in the date being changed.
Year, month and day folders can be disabled
Nodes can be created directly on a year or month folder, and will stay at the folder.
Define your own date folders (if you want)
The package includes mvc view and a master page.
This will make your development a lot easier as the basic features needed to implement for a standard blog will be done with this extension.
A complete blog package is UBlogsy, it has tags, categories, authors, data folders and more. Also working in Umbraco 7 (see details on downloadpage)
For a blogwebsite I created my own Razor scripts to run it the way I want it to Run ;)

Tea Commerce + Umbraco

I have an existing Umbraco site. I would like to add the option where users could buy a product and then pay for it etc.
Reading around it seems TeaCommerce (http://www.teacommerce.net/en/products/tea-commerce-starter-kit.aspx) is a module that can be used to achieve this.
So i download it and install it. All seems to install fine but now reading all the documentation that there is nothing states what to do next or how to proceed.
I then download the starter kit. Follow the instructions (http://www.teacommerce.net/media/11341/installation_guide.pdf) and the starter kit doesnt exactly run perfectly so i cant get the idea of how everything runs.
When i say the starter kit isnt running by that i mean i get the below errors
Error loading Razor Script /general/meta-description.cshtml
'string' does not contain a definition for 'mediaItem'
Error loading Razor Script /cart/mini-cart.cshtml
Cannot perform runtime binding on a null reference
I realised there was no Template associated with the site - so adding a template allowed the above page to load but with the errors stated.
From this point on could anyone guide me or point me to a working solution that i can replicate myself or how to integrate it with my existing Umbraco site?
Thanks
Unlike many ecommerce packages teacommerce doesn't have a built in product catalogue - so you have to build a catalogue in the Umbraco node structure - or use the "product information extractor" to use a catalogue in an XML file or accessed through an API.
I would assume that you're setting up with the node structure for the catalogue - so either you haven't built any 'Product' nodes yet or one of the fields (mediaitem) in the 'Product' node can't be accessed via /general/meta-description.cshtml which is a razor script file. So debug the /general/meta-description.cshtml file where you see references to the mediaitem field and you should pick out the issue.
ucommerce is an alternative and is much more fully featured but its pricing model of annual charges for features like the marketing section (which allows you to build in discounting) should be considered and could cost thousands of euros per year - teacommerce costs hundreds of euros but is a one-off charge.
I haven't used teacommerce but can recommend uCommerce http://our.umbraco.org/projects/website-utilities/ucommerce its free and you even get a razor shop fully built that you can just tweek to your need.So far this is the easiest commerce product on umbraco in my option.

Umbraco - How to import Dictionary between Umbraco instance

We are working with Umbraco 4.5. We have different culture set in the site. for that we use Dictionary object.
We completed our development locally now we need to deploy our changes on our Production Server. We want our Local Umbraco Dictionary to be imported to Production Server with some automated process. As we have more than 1000 Keys in Umbraco Dictionary.
Thanks
You have two options:
Script the SQL changes in the cmsDictionary and cmsLanguageText tables (they are related)
Create a package (right click on Packages in the Developer section > Create). In there you will be able to choose the dictionary items you want to include. With a 1000 keys, you don't really want to do that though.
Also, the upcoming version of Courier for Umbraco should be able to alleviate trouble with content migration (any type of content).
You can use this Umbraco Package: Dictionary Dashboard
It's easy to install, you can specify in which Section of the Backend it can be seen (by default this "Dictionary" Tab is available under "Content". (Umbraco official "Dictionary" is under "Settings" and I don't like that: if the customer wants access there he will need a user with admin rights, which I don't like (can mess with other things)...).
You export your dictionary as XML, you can easily edit it (if needed), you can import it in another umbraco installation (where you must install this package of course).
It's really one of my favorite packages.
It works from Umbraco 4.7.x till 6.x (with umbraco 7 I don't know, try...)

Resources