mack-localization 0.6.1.1 → 0.6.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. data/doc/classes/Mack/Localization/Configuration.html +118 -0
  2. data/doc/classes/Mack/Localization/ContentCache.html +111 -0
  3. data/doc/classes/Mack/Localization/DateFormatEngine/BP.html +217 -0
  4. data/doc/classes/Mack/Localization/DateFormatEngine/Base.html +237 -0
  5. data/doc/classes/Mack/Localization/DateFormatEngine/DE.html +217 -0
  6. data/doc/classes/Mack/Localization/DateFormatEngine/EN.html +218 -0
  7. data/doc/classes/Mack/Localization/DateFormatEngine/ES.html +217 -0
  8. data/doc/classes/Mack/Localization/DateFormatEngine/FR.html +217 -0
  9. data/doc/classes/Mack/Localization/DateFormatEngine/IT.html +217 -0
  10. data/doc/classes/Mack/Localization/Errors/FormatEngineNotFound.html +153 -0
  11. data/doc/classes/Mack/Localization/Errors/InvalidArgument.html +146 -0
  12. data/doc/classes/Mack/Localization/Errors/InvalidConfiguration.html +117 -0
  13. data/doc/classes/Mack/Localization/Errors/InvalidMethodName.html +153 -0
  14. data/doc/classes/Mack/Localization/Errors/LanguageFileNotFound.html +152 -0
  15. data/doc/classes/Mack/Localization/Errors/UnknownStringKey.html +153 -0
  16. data/doc/classes/Mack/Localization/Errors/UnsupportedEncoding.html +153 -0
  17. data/doc/classes/Mack/Localization/Errors/UnsupportedFeature.html +152 -0
  18. data/doc/classes/Mack/Localization/Errors/UnsupportedLanguage.html +153 -0
  19. data/doc/classes/Mack/Localization/FormatEngineRegistry.html +245 -0
  20. data/doc/classes/Mack/Localization/Formatter.html +392 -0
  21. data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/BP.html +196 -0
  22. data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/Base.html +250 -0
  23. data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/DE.html +196 -0
  24. data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/EN.html +196 -0
  25. data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/ES.html +196 -0
  26. data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/FR.html +196 -0
  27. data/doc/classes/Mack/Localization/NumberAndCurrencyFormatEngine/IT.html +196 -0
  28. data/doc/classes/Mack/Localization/Translator.html +275 -0
  29. data/doc/classes/Mack/ViewHelpers/L10NHelpers/Context.html +278 -0
  30. data/doc/classes/Mack/ViewHelpers/L10NHelpers.html +402 -0
  31. data/doc/classes/Mack.html +194 -0
  32. data/doc/classes/Object.html +236 -0
  33. data/doc/created.rid +1 -0
  34. data/doc/files/README.html +107 -0
  35. data/doc/files/lib/mack-localization/configuration_rb.html +110 -0
  36. data/doc/files/lib/mack-localization/content_cache_rb.html +101 -0
  37. data/doc/files/lib/mack-localization/errors_rb.html +101 -0
  38. data/doc/files/lib/mack-localization/format_engine/df_engines/base_rb.html +101 -0
  39. data/doc/files/lib/mack-localization/format_engine/df_engines/bp_rb.html +101 -0
  40. data/doc/files/lib/mack-localization/format_engine/df_engines/de_rb.html +101 -0
  41. data/doc/files/lib/mack-localization/format_engine/df_engines/en_rb.html +101 -0
  42. data/doc/files/lib/mack-localization/format_engine/df_engines/es_rb.html +101 -0
  43. data/doc/files/lib/mack-localization/format_engine/df_engines/fr_rb.html +101 -0
  44. data/doc/files/lib/mack-localization/format_engine/df_engines/it_rb.html +101 -0
  45. data/doc/files/lib/mack-localization/format_engine/engine_registry_rb.html +101 -0
  46. data/doc/files/lib/mack-localization/format_engine/nc_engines/base_rb.html +101 -0
  47. data/doc/files/lib/mack-localization/format_engine/nc_engines/bp_rb.html +101 -0
  48. data/doc/files/lib/mack-localization/format_engine/nc_engines/de_rb.html +101 -0
  49. data/doc/files/lib/mack-localization/format_engine/nc_engines/en_rb.html +101 -0
  50. data/doc/files/lib/mack-localization/format_engine/nc_engines/es_rb.html +101 -0
  51. data/doc/files/lib/mack-localization/format_engine/nc_engines/fr_rb.html +101 -0
  52. data/doc/files/lib/mack-localization/format_engine/nc_engines/it_rb.html +101 -0
  53. data/doc/files/lib/mack-localization/formatter_rb.html +101 -0
  54. data/doc/files/lib/mack-localization/helpers/view_helpers/l10n_helpers_rb.html +101 -0
  55. data/doc/files/lib/mack-localization/translator_rb.html +101 -0
  56. data/doc/files/lib/mack-localization_rb.html +109 -0
  57. data/doc/fr_class_index.html +58 -0
  58. data/doc/fr_file_index.html +49 -0
  59. data/doc/fr_method_index.html +108 -0
  60. data/doc/index.html +24 -0
  61. data/doc/rdoc-style.css +208 -0
  62. metadata +63 -2
@@ -0,0 +1,402 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Module: Mack::ViewHelpers::L10NHelpers</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Module</strong></td>
53
+ <td class="class-name-in-header">Mack::ViewHelpers::L10NHelpers</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../../files/lib/mack-localization/helpers/view_helpers/l10n_helpers_rb.html">
59
+ lib/mack-localization/helpers/view_helpers/l10n_helpers.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ </table>
66
+ </div>
67
+ <!-- banner header -->
68
+
69
+ <div id="bodyContent">
70
+
71
+
72
+
73
+ <div id="contextContent">
74
+
75
+
76
+
77
+ </div>
78
+
79
+ <div id="method-list">
80
+ <h3 class="section-bar">Methods</h3>
81
+
82
+ <div class="name-list">
83
+ <a href="#M000005">l10n_context</a>&nbsp;&nbsp;
84
+ <a href="#M000010">l10n_currency</a>&nbsp;&nbsp;
85
+ <a href="#M000008">l10n_date</a>&nbsp;&nbsp;
86
+ <a href="#M000007">l10n_getimg</a>&nbsp;&nbsp;
87
+ <a href="#M000006">l10n_gets</a>&nbsp;&nbsp;
88
+ <a href="#M000009">l10n_number</a>&nbsp;&nbsp;
89
+ </div>
90
+ </div>
91
+
92
+ </div>
93
+
94
+
95
+ <!-- if includes -->
96
+
97
+ <div id="section">
98
+
99
+ <div id="class-list">
100
+ <h3 class="section-bar">Classes and Modules</h3>
101
+
102
+ Class <a href="L10NHelpers/Context.html" class="link">Mack::ViewHelpers::L10NHelpers::Context</a><br />
103
+
104
+ </div>
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+ <!-- if method_list -->
113
+ <div id="methods">
114
+ <h3 class="section-bar">Public Instance methods</h3>
115
+
116
+ <div id="method-M000005" class="method-detail">
117
+ <a name="M000005"></a>
118
+
119
+ <div class="method-heading">
120
+ <a href="#M000005" class="method-signature">
121
+ <span class="method-name">l10n_context</span><span class="method-args">(view_sym, lang = session[:lang] || :en) {|ctx| ...}</span>
122
+ </a>
123
+ </div>
124
+
125
+ <div class="method-description">
126
+ <p><a class="source-toggle" href="#"
127
+ onclick="toggleCode('M000005-source');return false;">[Source]</a></p>
128
+ <div class="method-source-code" id="M000005-source">
129
+ <pre>
130
+ <span class="ruby-comment cmt"># File lib/mack-localization/helpers/view_helpers/l10n_helpers.rb, line 34</span>
131
+ 34: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">l10n_context</span>(<span class="ruby-identifier">view_sym</span>, <span class="ruby-identifier">lang</span> = <span class="ruby-identifier">session</span>[<span class="ruby-identifier">:lang</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">:en</span>)
132
+ 35: <span class="ruby-identifier">ctx</span> = <span class="ruby-constant">Context</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">view_sym</span>, <span class="ruby-identifier">lang</span>)
133
+ 36: <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">ctx</span>
134
+ 37: <span class="ruby-keyword kw">end</span>
135
+ </pre>
136
+ </div>
137
+ </div>
138
+ </div>
139
+
140
+ <div id="method-M000010" class="method-detail">
141
+ <a name="M000010"></a>
142
+
143
+ <div class="method-heading">
144
+ <a href="#M000010" class="method-signature">
145
+ <span class="method-name">l10n_currency</span><span class="method-args">(amount, lang = session[:lang] || :en)</span>
146
+ </a>
147
+ </div>
148
+
149
+ <div class="method-description">
150
+ <p>
151
+ View helper method to format the currency based on the given language code
152
+ </p>
153
+ <p>
154
+ params:
155
+ </p>
156
+ <pre>
157
+ amount - the amount of money
158
+ lang - language code
159
+ </pre>
160
+ <p>
161
+ See:
162
+ </p>
163
+ <pre>
164
+ Mack::Localization::Formatter.currency_format
165
+ </pre>
166
+ <p>
167
+ Example:
168
+ </p>
169
+ <pre>
170
+ l10n_currency(10000, :en) produces &quot;$10,000.00&quot;
171
+ </pre>
172
+ <p>
173
+ Returns:
174
+ </p>
175
+ <pre>
176
+ the multibyte version of the formatted currency
177
+ </pre>
178
+ <p><a class="source-toggle" href="#"
179
+ onclick="toggleCode('M000010-source');return false;">[Source]</a></p>
180
+ <div class="method-source-code" id="M000010-source">
181
+ <pre>
182
+ <span class="ruby-comment cmt"># File lib/mack-localization/helpers/view_helpers/l10n_helpers.rb, line 135</span>
183
+ 135: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">l10n_currency</span>(<span class="ruby-identifier">amount</span>, <span class="ruby-identifier">lang</span> = <span class="ruby-identifier">session</span>[<span class="ruby-identifier">:lang</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">:en</span>)
184
+ 136: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">l10n_formatter</span>.<span class="ruby-identifier">currency_format</span>(<span class="ruby-identifier">amount</span>, <span class="ruby-identifier">lang</span>)
185
+ 137: <span class="ruby-keyword kw">end</span>
186
+ </pre>
187
+ </div>
188
+ </div>
189
+ </div>
190
+
191
+ <div id="method-M000008" class="method-detail">
192
+ <a name="M000008"></a>
193
+
194
+ <div class="method-heading">
195
+ <a href="#M000008" class="method-signature">
196
+ <span class="method-name">l10n_date</span><span class="method-args">(time, type, lang = session[:lang] || :en)</span>
197
+ </a>
198
+ </div>
199
+
200
+ <div class="method-description">
201
+ <p>
202
+ View helper method to format the specified date based on the given language
203
+ code
204
+ </p>
205
+ <p>
206
+ params:
207
+ </p>
208
+ <pre>
209
+ time - the date to be formatted
210
+ type - :short, :medium, :long
211
+ lang - language code
212
+ </pre>
213
+ <p>
214
+ See:
215
+ </p>
216
+ <pre>
217
+ Mack::Localization::Formatter.date_format
218
+ </pre>
219
+ <p>
220
+ Example:
221
+ </p>
222
+ <pre>
223
+ aTime = Time.local(2008, &quot;jan&quot;, 1)
224
+ l10n_date(aTime, :short, :en) produces &quot;Jan 01, 2008&quot;
225
+ </pre>
226
+ <p>
227
+ Returns:
228
+ </p>
229
+ <pre>
230
+ the multibyte version of the formatted date
231
+ </pre>
232
+ <p><a class="source-toggle" href="#"
233
+ onclick="toggleCode('M000008-source');return false;">[Source]</a></p>
234
+ <div class="method-source-code" id="M000008-source">
235
+ <pre>
236
+ <span class="ruby-comment cmt"># File lib/mack-localization/helpers/view_helpers/l10n_helpers.rb, line 95</span>
237
+ 95: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">l10n_date</span>(<span class="ruby-identifier">time</span>, <span class="ruby-identifier">type</span>, <span class="ruby-identifier">lang</span> = <span class="ruby-identifier">session</span>[<span class="ruby-identifier">:lang</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">:en</span>)
238
+ 96: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">l10n_formatter</span>.<span class="ruby-identifier">date_format</span>(<span class="ruby-identifier">time</span>, <span class="ruby-identifier">type</span>, <span class="ruby-identifier">lang</span>)
239
+ 97: <span class="ruby-keyword kw">end</span>
240
+ </pre>
241
+ </div>
242
+ </div>
243
+ </div>
244
+
245
+ <div id="method-M000007" class="method-detail">
246
+ <a name="M000007"></a>
247
+
248
+ <div class="method-heading">
249
+ <a href="#M000007" class="method-signature">
250
+ <span class="method-name">l10n_getimg</span><span class="method-args">(key, view_sym = controller.controller_name, lang = session[:lang] || :en)</span>
251
+ </a>
252
+ </div>
253
+
254
+ <div class="method-description">
255
+ <p>
256
+ View helper method to get the localized image path in the given view_sym
257
+ path and language using the specified key.
258
+ </p>
259
+ <p>
260
+ params:
261
+ </p>
262
+ <pre>
263
+ key - lookup key
264
+ view_sym - tell the system where to look for the content file
265
+ lang - the language code
266
+ </pre>
267
+ <p>
268
+ See:
269
+ </p>
270
+ <pre>
271
+ Mack::Localization::Translator.getimg
272
+ </pre>
273
+ <p>
274
+ Returns:
275
+ </p>
276
+ <pre>
277
+ the multibyte version of the path to the localized image
278
+ </pre>
279
+ <p><a class="source-toggle" href="#"
280
+ onclick="toggleCode('M000007-source');return false;">[Source]</a></p>
281
+ <div class="method-source-code" id="M000007-source">
282
+ <pre>
283
+ <span class="ruby-comment cmt"># File lib/mack-localization/helpers/view_helpers/l10n_helpers.rb, line 73</span>
284
+ 73: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">l10n_getimg</span>(<span class="ruby-identifier">key</span>, <span class="ruby-identifier">view_sym</span> = <span class="ruby-identifier">controller</span>.<span class="ruby-identifier">controller_name</span>, <span class="ruby-identifier">lang</span> = <span class="ruby-identifier">session</span>[<span class="ruby-identifier">:lang</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">:en</span>)
285
+ 74: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">l10n_translator</span>.<span class="ruby-identifier">getimg</span>(<span class="ruby-identifier">view_sym</span>.<span class="ruby-identifier">to_sym</span>, <span class="ruby-identifier">key</span>, <span class="ruby-identifier">lang</span>)
286
+ 75: <span class="ruby-keyword kw">end</span>
287
+ </pre>
288
+ </div>
289
+ </div>
290
+ </div>
291
+
292
+ <div id="method-M000006" class="method-detail">
293
+ <a name="M000006"></a>
294
+
295
+ <div class="method-heading">
296
+ <a href="#M000006" class="method-signature">
297
+ <span class="method-name">l10n_gets</span><span class="method-args">(key, view_sym = controller.controller_name, lang = session[:lang] || :en)</span>
298
+ </a>
299
+ </div>
300
+
301
+ <div class="method-description">
302
+ <p>
303
+ View helper method to get the localized string in the given view_sym path
304
+ and language using the specified key.
305
+ </p>
306
+ <p>
307
+ params:
308
+ </p>
309
+ <pre>
310
+ key - lookup key
311
+ view_sym - tell the system where to look for the content file
312
+ lang - the language code
313
+ </pre>
314
+ <p>
315
+ See:
316
+ </p>
317
+ <pre>
318
+ Mack::Localization::Translator.getimg
319
+ </pre>
320
+ <p>
321
+ Returns:
322
+ </p>
323
+ <pre>
324
+ the multibyte version of the localized string
325
+ </pre>
326
+ <p><a class="source-toggle" href="#"
327
+ onclick="toggleCode('M000006-source');return false;">[Source]</a></p>
328
+ <div class="method-source-code" id="M000006-source">
329
+ <pre>
330
+ <span class="ruby-comment cmt"># File lib/mack-localization/helpers/view_helpers/l10n_helpers.rb, line 54</span>
331
+ 54: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">l10n_gets</span>(<span class="ruby-identifier">key</span>, <span class="ruby-identifier">view_sym</span> = <span class="ruby-identifier">controller</span>.<span class="ruby-identifier">controller_name</span>, <span class="ruby-identifier">lang</span> = <span class="ruby-identifier">session</span>[<span class="ruby-identifier">:lang</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">:en</span>)
332
+ 55: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">l10n_translator</span>.<span class="ruby-identifier">gets</span>(<span class="ruby-identifier">view_sym</span>.<span class="ruby-identifier">to_sym</span>, <span class="ruby-identifier">key</span>, <span class="ruby-identifier">lang</span>)
333
+ 56: <span class="ruby-keyword kw">end</span>
334
+ </pre>
335
+ </div>
336
+ </div>
337
+ </div>
338
+
339
+ <div id="method-M000009" class="method-detail">
340
+ <a name="M000009"></a>
341
+
342
+ <div class="method-heading">
343
+ <a href="#M000009" class="method-signature">
344
+ <span class="method-name">l10n_number</span><span class="method-args">(num, lang = session[:lang] || :en)</span>
345
+ </a>
346
+ </div>
347
+
348
+ <div class="method-description">
349
+ <p>
350
+ View helper method to format the number based on the given language code
351
+ </p>
352
+ <p>
353
+ params:
354
+ </p>
355
+ <pre>
356
+ num - the number to be formatted
357
+ lang - language code
358
+ </pre>
359
+ <p>
360
+ See:
361
+ </p>
362
+ <pre>
363
+ Mack::Localization::Formatter.number_format
364
+ </pre>
365
+ <p>
366
+ Example:
367
+ </p>
368
+ <pre>
369
+ l10n_number(10000, :en) produces &quot;10,000.00&quot;
370
+ </pre>
371
+ <p>
372
+ Returns:
373
+ </p>
374
+ <pre>
375
+ the multibyte version of the formatted number
376
+ </pre>
377
+ <p><a class="source-toggle" href="#"
378
+ onclick="toggleCode('M000009-source');return false;">[Source]</a></p>
379
+ <div class="method-source-code" id="M000009-source">
380
+ <pre>
381
+ <span class="ruby-comment cmt"># File lib/mack-localization/helpers/view_helpers/l10n_helpers.rb, line 115</span>
382
+ 115: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">l10n_number</span>(<span class="ruby-identifier">num</span>, <span class="ruby-identifier">lang</span> = <span class="ruby-identifier">session</span>[<span class="ruby-identifier">:lang</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">:en</span>)
383
+ 116: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">l10n_formatter</span>.<span class="ruby-identifier">number_format</span>(<span class="ruby-identifier">num</span>, <span class="ruby-identifier">lang</span>)
384
+ 117: <span class="ruby-keyword kw">end</span>
385
+ </pre>
386
+ </div>
387
+ </div>
388
+ </div>
389
+
390
+
391
+ </div>
392
+
393
+
394
+ </div>
395
+
396
+
397
+ <div id="validator-badges">
398
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
399
+ </div>
400
+
401
+ </body>
402
+ </html>
@@ -0,0 +1,194 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Module: Mack</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Module</strong></td>
53
+ <td class="class-name-in-header">Mack</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../files/lib/mack-localization/configuration_rb.html">
59
+ lib/mack-localization/configuration.rb
60
+ </a>
61
+ <br />
62
+ <a href="../files/lib/mack-localization/content_cache_rb.html">
63
+ lib/mack-localization/content_cache.rb
64
+ </a>
65
+ <br />
66
+ <a href="../files/lib/mack-localization/errors_rb.html">
67
+ lib/mack-localization/errors.rb
68
+ </a>
69
+ <br />
70
+ <a href="../files/lib/mack-localization/format_engine/df_engines/base_rb.html">
71
+ lib/mack-localization/format_engine/df_engines/base.rb
72
+ </a>
73
+ <br />
74
+ <a href="../files/lib/mack-localization/format_engine/df_engines/bp_rb.html">
75
+ lib/mack-localization/format_engine/df_engines/bp.rb
76
+ </a>
77
+ <br />
78
+ <a href="../files/lib/mack-localization/format_engine/df_engines/de_rb.html">
79
+ lib/mack-localization/format_engine/df_engines/de.rb
80
+ </a>
81
+ <br />
82
+ <a href="../files/lib/mack-localization/format_engine/df_engines/en_rb.html">
83
+ lib/mack-localization/format_engine/df_engines/en.rb
84
+ </a>
85
+ <br />
86
+ <a href="../files/lib/mack-localization/format_engine/df_engines/es_rb.html">
87
+ lib/mack-localization/format_engine/df_engines/es.rb
88
+ </a>
89
+ <br />
90
+ <a href="../files/lib/mack-localization/format_engine/df_engines/fr_rb.html">
91
+ lib/mack-localization/format_engine/df_engines/fr.rb
92
+ </a>
93
+ <br />
94
+ <a href="../files/lib/mack-localization/format_engine/df_engines/it_rb.html">
95
+ lib/mack-localization/format_engine/df_engines/it.rb
96
+ </a>
97
+ <br />
98
+ <a href="../files/lib/mack-localization/format_engine/engine_registry_rb.html">
99
+ lib/mack-localization/format_engine/engine_registry.rb
100
+ </a>
101
+ <br />
102
+ <a href="../files/lib/mack-localization/format_engine/nc_engines/base_rb.html">
103
+ lib/mack-localization/format_engine/nc_engines/base.rb
104
+ </a>
105
+ <br />
106
+ <a href="../files/lib/mack-localization/format_engine/nc_engines/bp_rb.html">
107
+ lib/mack-localization/format_engine/nc_engines/bp.rb
108
+ </a>
109
+ <br />
110
+ <a href="../files/lib/mack-localization/format_engine/nc_engines/de_rb.html">
111
+ lib/mack-localization/format_engine/nc_engines/de.rb
112
+ </a>
113
+ <br />
114
+ <a href="../files/lib/mack-localization/format_engine/nc_engines/en_rb.html">
115
+ lib/mack-localization/format_engine/nc_engines/en.rb
116
+ </a>
117
+ <br />
118
+ <a href="../files/lib/mack-localization/format_engine/nc_engines/es_rb.html">
119
+ lib/mack-localization/format_engine/nc_engines/es.rb
120
+ </a>
121
+ <br />
122
+ <a href="../files/lib/mack-localization/format_engine/nc_engines/fr_rb.html">
123
+ lib/mack-localization/format_engine/nc_engines/fr.rb
124
+ </a>
125
+ <br />
126
+ <a href="../files/lib/mack-localization/format_engine/nc_engines/it_rb.html">
127
+ lib/mack-localization/format_engine/nc_engines/it.rb
128
+ </a>
129
+ <br />
130
+ <a href="../files/lib/mack-localization/formatter_rb.html">
131
+ lib/mack-localization/formatter.rb
132
+ </a>
133
+ <br />
134
+ <a href="../files/lib/mack-localization/helpers/view_helpers/l10n_helpers_rb.html">
135
+ lib/mack-localization/helpers/view_helpers/l10n_helpers.rb
136
+ </a>
137
+ <br />
138
+ <a href="../files/lib/mack-localization/translator_rb.html">
139
+ lib/mack-localization/translator.rb
140
+ </a>
141
+ <br />
142
+ </td>
143
+ </tr>
144
+
145
+ </table>
146
+ </div>
147
+ <!-- banner header -->
148
+
149
+ <div id="bodyContent">
150
+
151
+
152
+
153
+ <div id="contextContent">
154
+
155
+ <div id="description">
156
+ <p>
157
+ <a href="Mack.html">Mack</a> Localization&#8216;s main configuration. When
158
+ loaded it will try to load localization.yml file from
159
+ {config_dir}/localization/ inside the application directory. If the file
160
+ doesn&#8216;t exist then it will just load default configuration.
161
+ </p>
162
+
163
+ </div>
164
+
165
+
166
+ </div>
167
+
168
+
169
+ </div>
170
+
171
+
172
+ <!-- if includes -->
173
+
174
+ <div id="section">
175
+
176
+
177
+
178
+
179
+
180
+
181
+
182
+
183
+ <!-- if method_list -->
184
+
185
+
186
+ </div>
187
+
188
+
189
+ <div id="validator-badges">
190
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
191
+ </div>
192
+
193
+ </body>
194
+ </html>