Simon Welsh
9b8d07ca5b
Merge pull request #3180 from colymba/i18n-js-injection-fix
...
API New i18n JS sprintf and inject replacement functions
2014-08-07 21:24:52 +10:00
Simon Welsh
8a3eebf289
Merge remote-tracking branch 'origin/3.0' into 3.1
...
Conflicts:
i18n/i18n.php
2014-07-16 21:18:07 +10:00
colymba
8fb5e9c3a4
API New JS sprintf and inject replacement functions
...
Fix sprintf issues when replacement was at start of string + introduce
new inject function using injection map similar to the PHP version of
_t()
2014-06-05 22:47:49 +03:00
Stephen Shkardoon
6b410aa9a0
Update i18n.md
...
Fix a link being inside backticks, which broke the formatting.
2014-05-29 13:13:45 +12:00
JorisDebonnet
90bb1ec7f7
Update i18n.md
...
Corrected a mistake: to make a new locale available (in particular for use with silverstripe/translatable), i18n:common_locales needs to be updated, not i18n:common_languages.
2014-05-25 21:09:06 +02:00
Martin D.
6b3a21653b
Fixed config setting link
2014-04-28 10:31:54 -04:00
Ingo Schommer
48949ba89a
Improved i18n JS docs
2014-01-24 11:12:23 +13:00
Ingo Schommer
2c145cd454
API JS i18n files with short locale names, generated by build task
...
The files are uploaded to transifex.com now, which means we needed
to consolidate the file names (= locales). Since Transifex doesn't allow
arbitrary JavaScript structures, we're using an intermediary JSON
format which gets transformed into the JS used by the framework.
See b59f3858af
for generator logic.
Fixes https://github.com/silverstripe/silverstripe-framework/issues/2499
2013-10-25 12:05:46 +02:00
Ingo Schommer
68888f9105
Merge pull request #2592 from kinglozzer/docs-localhost-urls
...
Update docs to consistently use http://localhost/ (fixes #1919 )
2013-10-23 12:37:53 -07:00
Loz Calver
01746d175a
Update docs to consistently use http://localhost/ ( fixes #1919 )
2013-10-23 20:24:52 +01:00
Ingo Schommer
634f73c710
Merge pull request #2395 from ARNHOE/patch-1
...
i18n documentation - added note for caching in multi language modules
2013-10-23 03:02:06 -07:00
Ingo Schommer
be09129742
$i18nScriptDirection template placeholder
...
Optional RTL support based on Zend_Locale data.
Not set in CMS by default because it breaks the layout
quite badly without deep CSS modifications.
2013-10-16 00:05:33 +02:00
ARNHOE
68141b6ca0
i18n documentation - added note for caching in multi language modules
2013-09-07 16:10:52 +02:00
Sam Minnee
b5a83878dd
Added docs for i81n.moduole_priority.
2013-05-06 12:51:46 +12:00
Ingo Schommer
0b54b284bc
Updated i18n docs
2013-04-02 11:43:36 +02:00
Ingo Schommer
3334eafcb1
API Marked statics private, use Config API instead ( #8317 )
...
See "Static configuration properties are now immutable, you must use Config API." in the 3.1 change log for details.
2013-03-24 17:20:53 +01:00
Ingo Schommer
64888c07b7
Partially revert docs commit 7710cf59
...
i18n.js doesn't support named parameters (yet)
2013-03-04 08:48:16 +01:00
drzax
f6ab5a4020
Update docs/en/topics/i18n.md
...
Make the documentation more clear and 3.x specific. Especially around template translations.
2013-01-09 12:46:09 +10:00
Sam Minnee
7d203a9af1
Moved all translator-targeted documentation to contributing/translation and left translation-process for advanced topics relating to module maintainers and the core team.
2012-10-09 14:53:47 +13:00
jakr
4abe6be526
The documentation about internationalization in templates in topics/i18n.md did not match how the parser works. Related to ticket #7706 .
2012-07-29 19:57:57 +02:00
Ingo Schommer
19e087d226
Fixed references to deprecated APIs in docs
2012-06-28 14:49:55 +02:00
Ingo Schommer
e949b6f2b0
ENHANCEMENT Backwards compatible $priority parameter for i18n::_t(): Allow numeric arrays as parameters, as well as %s style replacements with a named parameter map (easier transition to new system with existing translation strings)
2012-05-01 22:17:00 +02:00
Ingo Schommer
7e222393ea
MINOR Updated docs with getlocalization.com instructions
2012-04-27 17:33:14 +02:00
Julian Seidenberg
7710cf59c7
MINOR: updating the documentation
2012-04-18 18:14:03 +12:00
Ingo Schommer
d3b63dae0c
MINOR Allowing to flush translation cache through ?flush=1
2012-04-15 18:46:04 +02:00
Ingo Schommer
cbcee57496
ENHANCEMENT New i18nTextCollector_Writer_RailsYaml
2012-04-15 18:08:59 +02:00
Ingo Schommer
fca2c205b7
API CHANGE Removed $priority arguments from _t(), use module priorities instead.
...
ENHANCEMENT Refactored i18nTextCollector collection logic alongside $priority removal, from regex to (slightly more maintainable) PHP tokenizer. Using var_export() for generating PHP, which auto-escapes strings more robustly.
ENHANCEMENT Refactored i18nTextCollector into pluggable writers (in preparation of new YML output format)
2012-04-15 17:17:17 +02:00
Simon Welsh
656369008c
API-CHANGE Update docs to match renaming of sapphire to framework
2012-04-15 10:50:19 +12:00
Ingo Schommer
3a068a0d18
MINOR Removed references to outdated versions from docs
2012-03-09 21:34:05 +01:00
Ingo Schommer
04a10a4265
MINOR Updated coding conventions to require the 'public' keyword for class methods and variables
2012-01-30 23:13:42 +01:00
Ingo Schommer
9b27a4c1be
ENHANCEMENT More flexible URL filtering through new URLSegmentFilter API. Support for multibyte URL segments through URLPathFilter::$default_allow_multibyte. Abstraction from Convert::raw2url() (and SiteTree->generateURLSegment())
2011-11-29 11:04:08 +01:00
Ingo Schommer
3588cefa30
MINOR DateField documentation
2011-05-25 21:24:33 +12:00
Ingo Schommer
d61444e976
API CHANGE Moved Translatable class into new 'translatable' module
2011-03-29 18:07:56 +13:00
Michael Andrewartha
626980acb5
Small text changes, added api links, cont. updating images for tutorials, fixed tutorials from member feedback
2011-03-09 10:05:51 +13:00
Ingo Schommer
b1c36ce0a4
ENHANCEMENT Added sapphire/docs (migrated from https://github.com/chillu/silverstripe-doc-restructuring )
2011-02-07 19:48:44 +13:00