Last active
December 26, 2015 10:19
-
-
Save taion809/7135903 to your computer and use it in GitHub Desktop.
PHP l10n i18n links to not forget
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http://icu-project.org/apiref/icu4c/classMessageFormat.html#details | |
| http://userguide.icu-project.org/conversion/converters | |
| http://devdocs.io/php/normalizer.normalize | |
| [20:30:13] <sinni800> i dont really have a large project to use it for yet | |
| [20:30:54] <sinni800> but i just wanted to say that... the documentation is pretty much full of one liners | |
| [20:30:58] --> trevor_morse ([email protected]) has joined #phpc | |
| [20:31:44] <sinni800> there's not much explanation because every function has just one goal | |
| [20:32:53] <MoaiTheJinx> Yea, it can be a bit discouraging sometimes for me to look at small info like that. | |
| [20:33:07] <sinni800> that's an interesting bit of info | |
| [20:33:24] <sinni800> the pages in php with lots of info are better, for you? | |
| [20:33:58] <sinni800> i agree its an interesting read | |
| [20:34:37] <MoaiTheJinx> With additional info one what each parameter do, yes. | |
| [20:34:57] <sinni800> MoaiTheJinx: but shouldnt that be clear? | |
| [20:35:32] <sinni800> if a parameter needs explanation on what it does when, you can almost just replace the function with two functions ,with each kind of functionality | |
| [20:35:41] <MoaiTheJinx> Yes. Sometimes, function names, with parameter names, with "data type" can be clear enough/self explanatory. | |
| [20:36:11] <sinni800> MoaiTheJinx: give me an example where it isnt | |
| [20:37:50] --> harrieverveer ([email protected]) has joined #phpc | |
| [20:39:37] <-- robertbasic ([email protected]) has quit (Ping timeout: 245 seconds) | |
| [20:40:31] <MoaiTheJinx> The kind of function that has "Shortcut-names, abbreviation" you may not be familiar with, I thought I gave you an example. That uconverter thing. Doesn't tell you what their CONSTANTS means for example. | |
| [20:41:18] <sinni800> ah- | |
| [20:43:30] <MoaiTheJinx> I guess I can just google search it, but these things do discourage me. | |
| [20:43:42] <sinni800> i get what you mean | |
| [20:43:52] <sinni800> yeah i dont even know either | |
| [20:43:58] <MoaiTheJinx> I see some examples on how to use "Reousrce Bundle", seems to be a java thing, nothing by java documentation on resource bundle | |
| [20:43:59] <sinni800> but in go they tend to prevent this | |
| [20:44:33] <MoaiTheJinx> I am working on making my website bilingual. | |
| [20:44:36] <DASPRiD> meh, can't packt stop asking me to write books? >_> | |
| [20:45:03] <sinni800> MoaiTheJinx: why do you need that u-thing for that? | |
| [20:45:29] <sinni800> just do everything in utf8 | |
| [20:46:01] <pmcgovern> converting data types is handy when importing data from external sources | |
| [20:46:18] <pmcgovern> an example would be an ETL process for a price comparison engine | |
| [20:46:23] <sinni800> pmcgovern: i sure agree... if you cant get it in utf8 | |
| [20:46:34] <sinni800> but i dont know, for i18n? | |
| [20:46:37] <pmcgovern> sinni800: A lot of companies just have shit data | |
| [20:46:45] <MoaiTheJinx> sinni800, honestly, I do not know. I was only curious for what that does. I was reading a bit about that on the ICU's website. http://userguide.icu-project.org/conversion/converters <-- I came to the ICU's website to learn how to use "MessageFormat" features. | |
| [20:46:47] <Phergie> [ http://is.gd/UXNYDL ] Using Converters - ICU User Guide | |
| [20:46:48] <pmcgovern> so enfircing a conversion to protect your bits is wortrhy | |
| [20:46:53] <pmcgovern> *enforcing | |
| [20:46:55] <MoaiTheJinx> I'm currently nto using that gettext thing. | |
| [20:47:31] --> fuxy_ ([email protected]) has joined #phpc | |
| [20:49:36] <MoaiTheJinx> Okay, here is the interesting thing I am reading at the moment: http://icu-project.org/apiref/icu4c/classMessageFormat.html#details | |
| [20:49:38] <Phergie> [ http://is.gd/xOxMb4 ] ICU 52.1: icu::MessageFormat Class Refer... | |
| [20:50:10] <MoaiTheJinx> sinni800, exactly!!! | |
| [20:50:20] <MoaiTheJinx> That locale/language translate thingybob. | |
| [20:50:36] -*- MoaiTheJinx is yawning a bit. | |
| [20:50:40] <-- fuxy ([email protected]) has quit (Ping timeout: 264 seconds) | |
| [20:50:52] <taion809> wonderful, this is very relevant to my interests | |
| [20:50:59] <MoaiTheJinx> taion809, what is? | |
| [20:51:18] <taion809> supporting multiple languages | |
| [20:51:22] <MoaiTheJinx> :D | |
| [20:52:04] <taion809> new requirement coming in at work so time to learn | |
| [20:52:26] <MoaiTheJinx> Yea, and what else is a great find is this: http://devdocs.io/php/normalizer.normalize | |
| [20:52:27] <Phergie> [ http://is.gd/3LtXCa ] DevDocs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment