doc: better explain internationalization
See original GitHub issueThe concise information in skeleton/locale/README.md
is not helping me much. Can you provide a working example?
I have a couple of questions:
-
how many languages can I set in config.json? One is working, but if I try to set an array with two values I get an error when I run
cactus messages:make
(TypeError: unhashable type: ‘list’):"locale" : ["en", "fr"]
The config file is meant to be one per website? I should use one config file for each different language?
-
How should the block look like? I tried this but no po file is generated:
<p>{% trans %} Esempio di traduzione {% endtrans %}</p>
Issue Analytics
- State:
- Created 8 years ago
- Comments:14 (3 by maintainers)
Top Results From Across the Web
Localization vs. Internationalization - W3C
Internationalization is the design and development of a product, application or document content that enables easy localization for target ...
Read more >What is internationalization? - Technitrad
Globalization increases interdependence of countries, whereas internationalization retains a country's identity. Globalization is inevitable ...
Read more >What Is The Difference Between Internationalization ... - Localize
Localization is the adaptation of a specific product or service to a unique local market. Let's explore internationalization and localization in more depth....
Read more >Compare Globalization and Internationalization - MotaWord
Internationalization allows for the sourcing, production, and sale of materials from one or more countries. It also lets companies set up ...
Read more >Internationalization vs. localization (i18n vs l10n) - Lokalise
As we defined above, internationalization is essentially changing and removing any hardwiring so that your product is language- and culture- ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
When i run: cactus messages:make -c config.json -c en.json or cactus messages:make -c config.json -c it.json
it generates file directories e, n and i, t ---- somebody had a similar experience?
The ‘e’, ‘n’, ‘i’ ,‘t’ subdirectories are
apparently due to a bug in Django 1.6.11, which is used by Cactus. I have not investigated this in depth, the bug might be in Cactus, too, but changing one line of code in Django did it for me. Unfortunately, cactus does not work with later Django versions.Forget what I just wrote… the bug is in Cactus. Leave your Django installation alone. There is an easy workaround, though. In your project directory, just run
where ‘en’ is of course the locale you want to build a PO file for.