Allows you to create human-readable URLs for terms and nodes.
After module is switched on the page adding/editing of the term will be available field "Synonym", using this field you can specify a synonym. When filling in the name of the term, the field "Synonym" is automatically filled (using Google Translate Api: translation from Russian to English). Synonym can be used to create human-readable URLs for terms or nodes on the page "patterns" of module Pathauto. On this page will be available two new patterns:
1) [node:node-synonym-path] to configure alias for nodes;
2) [term:term-synonym-path] to configure alias for terms.
If term has several parents, then alias will be created from the first parent, going on the list.
If node has several vocabularies/terms, as is the case with terms, alias will be created on the basis of the first term
the first vocabulary.
Example of use:
1) In the setting of pathauto for Taxonomy term paths for the vocabulary "Catalog" indicate a pattern:
catalog/[term:term-synonym-path].
For the type of node to which is added the vocabulary, specify a pattern
catalog/[node:node-synonym-path]/product[node:nid].html
2) Add a term to the vocabulary "Catalog": "мебель" (russian language). In the "Synonym" will appear automatically translate "furniture". Save.
This simple module allows you to associate a currency codes with your site locales. To use it, simply visit Site configuration -> Languages (/admin/settings/language/overview), and edit each of your locales. With this module enabled, you will see a new field entitled 'currency' which you can use to define the currency using an ISO 4217 compliant currency identifier. Examples: "GBP", "EUR", and "USD".
This module alters the core languages database table, adding an additional column named currency. This ensures that the currency data will always be loaded along with $language objects without any additional overhead. A convenience function locale_currency_get_currency() enables you to quickly find out the currency code associated with a particular locale.
Code examples
global $language;
print 'Current currency is: '.$language->currency;
$french_currency = locale_currency_get_currency('fr');
print 'French currency is: '.$french_currency->currency;
Customisations
Locale Currency is being developed by Tom Kirkpatrick (mrfelton) of SystemSeed. The author may be contacted for paid customisations of this module, Drupal consultation or other Drupal-related projects.